home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / N-P / Programmer's"Bag of Tricks"1.1a / BOT Specifications / Modem < prev    next >
MacBinary  |  1992-08-13  |  37.4 KB  |  [WSIO/WSEE]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Modem

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file MacBinary II, inited, Mon Jun 29 09:28:15 1992, modified Thu Aug 13 07:22:16 1992, creator 'WSEE', type 'WSIO', 37637 bytes "Modem" , at 0x9385 356 bytes resource default (weak)
99% file data default
65% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[WSIO]
macFileCreator[WSEE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 4d 6f 64 65 6d 00 | 00 00 00 00 00 00 00 00 |..Modem.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 57 53 49 4f 57 53 45 | 45 01 00 00 00 00 00 00 |.WSIOWSE|E.......|
|00000050| 00 00 00 00 00 93 05 00 | 00 01 64 a6 74 c0 6f a6 |........|..d.t.o.|
|00000060| af f6 68 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..h.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ce 61 00 00 |........|.....a..|
|00000080| 00 2e cf 34 00 00 3c 15 | 00 2c 00 02 01 1b 01 eb |...4..<.|.,......|
|00000090| 00 00 00 2c 00 00 00 02 | 00 00 17 3e 00 00 02 66 |...,....|...>...f|
|000000a0| 00 00 00 2c 00 00 00 02 | 00 00 36 e8 00 00 03 90 |...,....|..6.....|
|000000b0| 00 00 21 60 00 4a 00 00 | 36 e8 00 00 03 90 00 00 |..!`.J..|6.......|
|000000c0| 21 60 00 4a 00 00 36 a4 | 00 00 03 90 00 00 21 30 |!`.J..6.|......!0|
|000000d0| 00 4a 00 00 36 a4 00 00 | 03 90 00 00 21 30 00 4a |.J..6...|....!0.J|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 2e |........|........|
|000000f0| cf 5c 00 00 33 73 00 00 | 00 00 01 00 05 54 69 6d |.\..3s..|.....Tim|
|00000100| 65 73 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |es......|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 0c |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 02 | 84 20 ff ff 00 00 00 00 |........|. ......|
|00000140| 00 2e f6 5a 00 2e cf b2 | 00 00 00 00 00 2e cf 30 |...Z....|.......0|
|00000150| 00 2e f3 84 00 2e cf 96 | 00 00 00 00 00 00 4c b9 |........|......L.|
|00000160| 00 00 55 bf 00 00 92 fd | 00 00 93 05 00 00 48 39 |..U.....|......H9|
|00000170| 00 00 4c b9 00 00 55 bf | 00 00 82 5d 00 00 82 5d |..L...U.|...]...]|
|00000180| 00 00 91 9d 00 00 91 9d | 00 00 92 4d 00 00 92 4d |........|...M...M|
|00000190| 00 00 92 fd 00 00 00 00 | 00 00 00 00 4d 6f 64 65 |........|....Mode|
|000001a0| 6d 20 43 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 73 |m Commun|ications|
|000001b0| 0d 0d 0d 54 68 65 73 65 | 20 66 75 6e 63 74 69 6f |...These| functio|
|000001c0| 6e 73 20 6d 61 6b 65 20 | 69 74 20 65 61 73 79 20 |ns make |it easy |
|000001d0| 74 6f 20 63 6f 6e 6e 65 | 63 74 20 77 69 74 68 20 |to conne|ct with |
|000001e0| 61 20 72 65 6d 6f 74 65 | 20 63 6f 6d 70 75 74 65 |a remote| compute|
|000001f0| 72 20 6f 72 20 6e 65 74 | 77 6f 72 6b 20 74 68 72 |r or net|work thr|
|00000200| 6f 75 67 68 20 61 20 6d | 6f 64 65 6d 2e 0d 0d 41 |ough a m|odem...A|
|00000210| 64 64 69 74 69 6f 6e 61 | 6c 6c 79 2c 20 66 75 6e |dditiona|lly, fun|
|00000220| 63 74 69 6f 6e 73 20 61 | 72 65 20 70 72 6f 76 69 |ctions a|re provi|
|00000230| 64 65 64 20 74 6f 20 73 | 65 6e 64 20 61 6e 64 20 |ded to s|end and |
|00000240| 72 65 63 65 69 76 65 20 | 22 72 61 77 22 20 64 61 |receive |"raw" da|
|00000250| 74 61 20 74 6f 20 61 6e | 64 20 66 72 6f 6d 20 74 |ta to an|d from t|
|00000260| 68 65 20 6d 6f 64 65 6d | 20 6f 6e 63 65 20 61 20 |he modem| once a |
|00000270| 63 6f 6e 6e 65 63 74 69 | 6f 6e 20 68 61 73 20 62 |connecti|on has b|
|00000280| 65 65 6e 20 65 73 74 61 | 62 6c 69 73 68 65 64 2e |een esta|blished.|
|00000290| 0d 0d 48 6f 77 65 76 65 | 72 2c 20 74 68 65 20 70 |..Howeve|r, the p|
|000002a0| 75 72 70 6f 73 65 20 6f | 66 20 74 68 65 20 66 75 |urpose o|f the fu|
|000002b0| 6e 63 74 69 6f 6e 73 20 | 69 73 20 74 6f 20 61 73 |nctions |is to as|
|000002c0| 73 69 73 74 20 79 6f 75 | 20 69 6e 20 6f 70 65 6e |sist you| in open|
|000002d0| 69 6e 67 20 61 20 73 65 | 72 69 61 6c 20 70 6f 72 |ing a se|rial por|
|000002e0| 74 20 61 6e 64 20 6d 61 | 6b 69 6e 67 20 61 20 72 |t and ma|king a r|
|000002f0| 65 6d 6f 74 65 20 63 6f | 6e 6e 65 63 74 69 6f 6e |emote co|nnection|
|00000300| 20 d1 20 74 68 65 73 65 | 20 72 6f 75 74 69 6e 65 | . these| routine|
|00000310| 73 20 64 6f 20 6e 6f 74 | 20 70 72 6f 76 69 64 65 |s do not| provide|
|00000320| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 70 72 6f 74 | additio|nal prot|
|00000330| 6f 63 6f 6c 73 20 6f 72 | 20 61 6e 79 20 6f 74 68 |ocols or| any oth|
|00000340| 65 72 20 63 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |er commu|nication|
|00000350| 20 66 6f 72 6d 61 74 73 | 2e 0d 0d 0d 43 6f 6e 6e | formats|....Conn|
|00000360| 65 63 74 69 6f 6e 20 43 | 6f 6e 63 65 70 74 0d 0d |ection C|oncept..|
|00000370| 54 68 65 20 66 69 72 73 | 74 20 74 68 69 6e 67 20 |The firs|t thing |
|00000380| 79 6f 75 20 64 6f 20 74 | 6f 20 65 73 74 61 62 6c |you do t|o establ|
|00000390| 69 73 68 20 61 20 63 6f | 6e 6e 65 63 74 69 6f 6e |ish a co|nnection|
|000003a0| 20 74 68 72 6f 75 67 68 | 20 61 20 6d 6f 64 65 6d | through| a modem|
|000003b0| 20 69 73 20 63 72 65 61 | 74 65 20 61 20 6d 6f 64 | is crea|te a mod|
|000003c0| 65 6d 5f 68 61 6e 64 6c | 65 2c 20 77 68 69 63 68 |em_handl|e, which|
|000003d0| 20 69 73 20 61 20 73 70 | 65 63 69 61 6c 20 48 61 | is a sp|ecial Ha|
|000003e0| 6e 64 6c 65 20 72 65 74 | 75 72 6e 20 62 79 20 74 |ndle ret|urn by t|
|000003f0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 4f 70 65 6e |he funct|ion Open|
|00000400| 4d 6f 64 65 6d 2e 0d 0d | 59 6f 75 20 75 73 75 61 |Modem...|You usua|
|00000410| 6c 6c 79 20 77 6f 6e 27 | 74 20 6e 65 65 64 20 74 |lly won'|t need t|
|00000420| 6f 20 6b 6e 6f 77 20 61 | 6e 79 74 68 69 6e 67 20 |o know a|nything |
|00000430| 61 62 6f 75 74 20 74 68 | 65 20 63 6f 6e 74 65 6e |about th|e conten|
|00000440| 74 73 20 6f 66 20 6d 6f | 64 65 6d 5f 68 61 6e 64 |ts of mo|dem_hand|
|00000450| 6c 65 20 d1 20 6f 6e 63 | 65 20 6f 6e 65 20 69 73 |le . onc|e one is|
|00000460| 20 63 72 65 61 74 65 64 | 2c 20 79 6f 75 20 73 69 | created|, you si|
|00000470| 6d 70 6c 79 20 70 61 73 | 73 20 74 68 61 74 20 48 |mply pas|s that H|
|00000480| 61 6e 64 6c 65 20 74 6f | 20 61 20 66 75 6e 63 74 |andle to| a funct|
|00000490| 69 6f 6e 20 74 6f 20 6d | 61 6b 65 20 61 20 63 6f |ion to m|ake a co|
|000004a0| 6e 6e 65 63 74 69 6f 6e | 20 62 79 20 63 61 6c 6c |nnection| by call|
|000004b0| 69 6e 67 20 6f 75 74 2c | 20 6f 72 20 63 61 6c 6c |ing out,| or call|
|000004c0| 69 6e 67 20 61 20 66 75 | 6e 63 74 69 6f 6e 20 74 |ing a fu|nction t|
|000004d0| 6f 20 6d 61 6b 65 20 61 | 20 63 6f 6e 6e 65 63 74 |o make a| connect|
|000004e0| 69 6f 6e 20 62 79 20 72 | 65 63 65 69 76 69 6e 67 |ion by r|eceiving|
|000004f0| 20 61 20 63 61 6c 6c 2e | 0d 0d 4f 6e 63 65 20 61 | a call.|..Once a|
|00000500| 20 6d 6f 64 65 6d 20 63 | 6f 6e 6e 65 63 74 69 6f | modem c|onnectio|
|00000510| 6e 20 69 73 20 6d 61 64 | 65 2c 20 79 6f 75 20 63 |n is mad|e, you c|
|00000520| 61 6e 20 74 68 65 6e 20 | 73 65 6e 64 20 6f 72 20 |an then |send or |
|00000530| 72 65 63 65 69 76 65 20 | 64 61 74 61 20 75 73 69 |receive |data usi|
|00000540| 6e 67 20 74 68 65 20 73 | 61 6d 65 20 6d 6f 64 65 |ng the s|ame mode|
|00000550| 6d 5f 68 61 6e 64 6c 65 | 2e 0d 0d 4f 6e 63 65 20 |m_handle|...Once |
|00000560| 79 6f 75 20 61 72 65 20 | 74 68 72 6f 75 67 68 20 |you are |through |
|00000570| 77 69 74 68 20 74 68 65 | 20 63 6f 6e 6e 65 63 74 |with the| connect|
|00000580| 69 6f 6e 2c 20 79 6f 75 | 20 63 61 6e 20 22 68 61 |ion, you| can "ha|
|00000590| 6e 67 20 75 70 22 20 61 | 6e 64 20 66 69 6e 61 6c |ng up" a|nd final|
|000005a0| 6c 79 20 64 69 73 70 6f | 73 65 20 74 68 65 20 6d |ly dispo|se the m|
|000005b0| 6f 64 65 6d 5f 68 61 6e | 64 6c 65 2e 0d 0d 49 66 |odem_han|dle...If|
|000005c0| 20 79 6f 75 20 63 6f 6e | 73 69 64 65 72 20 61 20 | you con|sider a |
|000005d0| 6d 6f 64 65 6d 5f 68 61 | 6e 64 6c 65 20 61 73 20 |modem_ha|ndle as |
|000005e0| 61 20 22 63 68 61 6e 6e | 65 6c 22 20 74 6f 20 74 |a "chann|el" to t|
|000005f0| 72 61 6e 73 66 65 72 20 | 64 61 74 61 2c 20 74 68 |ransfer |data, th|
|00000600| 65 20 63 6f 6e 63 65 70 | 74 20 69 73 20 67 72 65 |e concep|t is gre|
|00000610| 61 74 6c 79 20 73 69 6d | 70 6c 69 66 69 65 64 2e |atly sim|plified.|
|00000620| 0d 00 15 00 0d 00 00 00 | 16 00 0d 00 00 00 17 00 |........|........|
|00000630| 0d 00 00 00 72 00 0d 00 | 00 00 73 00 0d 00 00 00 |....r...|..s.....|
|00000640| f5 00 0d 00 00 00 f6 00 | 0d 00 00 01 be 00 0d 00 |........|........|
|00000650| 00 01 bf 00 0d 00 00 01 | c0 00 0d 00 00 01 d3 00 |........|........|
|00000660| 0d 00 00 01 d4 00 0d 00 | 00 02 6b 00 0d 00 00 02 |........|..k.....|
|00000670| 6c 00 0d 00 00 03 5d 00 | 0d 00 00 03 5e 00 0d 00 |l.....].|....^...|
|00000680| 00 03 be 00 0d 00 00 03 | bf 00 0d 00 00 04 21 00 |........|......!.|
|00000690| 0d 00 00 04 22 00 0d 00 | 00 04 85 00 0d 00 00 00 |...."...|........|
|000006a0| 0d 00 00 0d 4e 4f 54 45 | 3a 20 20 49 66 20 79 6f |....NOTE|: If yo|
|000006b0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 75 |ur appli|cation u|
|000006c0| 73 65 73 20 41 70 70 6c | 65 27 73 20 43 6f 6d 6d |ses Appl|e's Comm|
|000006d0| 20 54 6f 6f 6c 62 6f 78 | 20 79 6f 75 20 73 68 6f | Toolbox| you sho|
|000006e0| 75 6c 64 20 6e 6f 74 20 | 75 73 65 20 74 68 65 20 |uld not |use the |
|000006f0| 66 75 6e 63 74 69 6f 6e | 73 20 69 6e 20 74 68 69 |function|s in thi|
|00000700| 73 20 63 68 61 70 74 65 | 72 2e 20 20 59 6f 75 20 |s chapte|r. You |
|00000710| 6d 75 73 74 20 75 73 65 | 20 6f 6e 65 20 6f 72 20 |must use| one or |
|00000720| 74 68 65 20 6f 74 68 65 | 72 2c 20 6e 6f 74 20 62 |the othe|r, not b|
|00000730| 6f 74 68 2c 20 62 65 63 | 61 75 73 65 20 61 20 63 |oth, bec|ause a c|
|00000740| 6f 6e 66 6c 69 63 74 20 | 6f 76 65 72 20 74 68 65 |onflict |over the|
|00000750| 20 6d 6f 64 65 6d 20 70 | 6f 72 74 20 6d 69 67 68 | modem p|ort migh|
|00000760| 74 20 72 65 73 75 6c 74 | 20 69 66 20 79 6f 75 20 |t result| if you |
|00000770| 74 72 79 20 74 6f 20 75 | 73 65 20 6f 75 72 20 66 |try to u|se our f|
|00000780| 75 6e 63 74 69 6f 6e 73 | 20 61 6c 6f 6e 67 20 77 |unctions| along w|
|00000790| 69 74 68 20 74 68 65 20 | 43 6f 6d 6d 20 54 6f 6f |ith the |Comm Too|
|000007a0| 6c 62 6f 78 2e 0d 0d 44 | 65 66 61 75 6c 74 73 0d |lbox...D|efaults.|
|000007b0| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 4d 6f 64 |.pascal |void Mod|
|000007c0| 65 6d 47 65 74 44 65 66 | 61 75 6c 74 73 28 6d 6f |emGetDef|aults(mo|
|000007d0| 64 65 6d 5f 70 61 72 61 | 6d 73 5f 72 65 63 20 2a |dem_para|ms_rec *|
|000007e0| 70 61 72 6d 5f 70 74 72 | 29 3b 0d 50 52 4f 43 45 |parm_ptr|);.PROCE|
|000007f0| 44 55 52 45 20 4d 6f 64 | 65 6d 47 65 74 44 65 66 |DURE Mod|emGetDef|
|00000800| 61 75 6c 74 73 20 28 56 | 41 52 20 70 61 72 61 6d |aults (V|AR param|
|00000810| 5f 70 74 72 3a 20 6d 6f | 64 65 6d 5f 70 61 72 61 |_ptr: mo|dem_para|
|00000820| 6d 73 5f 72 65 63 29 3b | 0d 0d 52 65 74 75 72 6e |ms_rec);|..Return|
|00000830| 73 20 74 68 65 20 64 65 | 66 61 75 6c 74 20 70 61 |s the de|fault pa|
|00000840| 72 61 6d 65 74 65 72 73 | 20 66 6f 72 20 70 72 65 |rameters| for pre|
|00000850| 70 61 72 69 6e 67 20 61 | 20 6e 65 77 20 6d 6f 64 |paring a| new mod|
|00000860| 65 6d 5f 68 61 6e 64 6c | 65 2e 0d 0d 4d 61 6b 69 |em_handl|e...Maki|
|00000870| 6e 67 20 61 20 6e 65 77 | 20 6d 6f 64 65 6d 5f 68 |ng a new| modem_h|
|00000880| 61 6e 64 6c 65 20 28 61 | 20 73 70 65 63 69 61 6c |andle (a| special|
|00000890| 20 48 61 6e 64 6c 65 20 | 72 65 71 75 69 72 65 64 | Handle |required|
|000008a0| 20 74 6f 20 6f 70 65 6e | 20 61 6e 64 20 74 72 61 | to open| and tra|
|000008b0| 6e 73 66 65 72 20 64 61 | 74 61 20 74 6f 20 61 6e |nsfer da|ta to an|
|000008c0| 64 20 66 72 6f 6d 20 61 | 20 6d 6f 64 65 6d 29 20 |d from a| modem) |
|000008d0| 72 65 71 75 69 72 65 73 | 20 79 6f 75 20 67 69 76 |requires| you giv|
|000008e0| 65 20 69 74 20 63 65 72 | 74 61 69 6e 20 63 6f 6d |e it cer|tain com|
|000008f0| 6d 75 6e 69 63 61 74 69 | 6f 6e 20 70 61 72 61 6d |municati|on param|
|00000900| 65 74 65 72 73 2e 0d 0d | 41 20 6d 6f 64 65 6d 5f |eters...|A modem_|
|00000910| 70 61 72 61 6d 73 5f 72 | 65 63 20 69 73 20 61 20 |params_r|ec is a |
|00000920| 70 72 65 64 65 66 69 6e | 65 64 20 73 74 72 75 63 |predefin|ed struc|
|00000930| 74 75 72 65 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |ture as |follows:|
|00000940| 0d 0d 74 79 70 65 64 65 | 66 20 73 74 72 75 63 74 |..typede|f struct|
|00000950| 0d 7b 0d 09 6d 6f 64 65 | 6d 5f 69 64 6c 65 5f 70 |.{..mode|m_idle_p|
|00000960| 72 6f 63 09 69 64 6c 65 | 5f 70 72 6f 63 3b 09 09 |roc.idle|_proc;..|
|00000970| 2f 2f 20 63 61 6c 6c 65 | 64 20 64 75 72 69 6e 67 |// calle|d during|
|00000980| 20 61 6e 79 20 6c 6f 6f | 70 73 0d 09 73 69 7a 65 | any loo|ps..size|
|00000990| 5f 74 09 09 62 75 66 66 | 65 72 5f 73 69 7a 65 3b |_t..buff|er_size;|
|000009a0| 09 2f 2f 20 68 6f 77 20 | 62 69 67 20 74 6f 20 6d |.// how |big to m|
|000009b0| 61 6b 65 20 74 68 65 20 | 69 6e 70 75 74 20 62 75 |ake the |input bu|
|000009c0| 66 66 65 72 0d 09 6d 6f | 64 65 6d 5f 70 6f 72 74 |ffer..mo|dem_port|
|000009d0| 5f 74 09 09 70 6f 72 74 | 3b 09 09 09 2f 2f 20 77 |_t..port|;...// w|
|000009e0| 68 69 63 68 20 70 6f 72 | 74 20 74 6f 20 75 73 65 |hich por|t to use|
|000009f0| 0d 00 01 00 0d 00 00 01 | 03 00 0d 00 00 01 04 00 |........|........|
|00000a00| 0d 00 00 01 0d 00 0d 00 | 00 01 0e 00 0d 00 00 01 |........|........|
|00000a10| 48 00 0d 00 00 01 86 00 | 0d 00 00 01 87 00 0d 00 |H.......|........|
|00000a20| 00 01 c8 00 0d 00 00 01 | c9 00 0d 00 00 02 64 00 |........|......d.|
|00000a30| 0d 00 00 02 65 00 0d 00 | 00 02 9e 00 0d 00 00 02 |....e...|........|
|00000a40| 9f 00 0d 00 00 02 ae 00 | 0d 00 00 02 b0 00 0d 00 |........|........|
|00000a50| 00 02 b1 00 09 00 18 02 | c1 00 09 00 06 02 cc 00 |........|........|
|00000a60| 09 00 0c 02 cd 00 09 00 | 18 02 e8 00 0d 00 00 02 |........|........|
|00000a70| e9 00 09 00 18 02 f0 00 | 09 00 36 02 f1 00 09 00 |........|..6.....|
|00000a80| 06 02 fe 00 09 00 18 03 | 22 00 0d 00 00 03 23 00 |........|".....#.|
|00000a90| 09 00 18 03 30 00 09 00 | 12 03 31 00 09 00 06 03 |....0...|..1.....|
|00000aa0| 37 00 09 00 12 03 38 00 | 09 00 18 03 39 00 09 00 |7.....8.|....9...|
|00000ab0| 18 03 4e 00 0d 00 00 09 | 6d 6f 64 65 6d 5f 64 69 |..N.....|modem_di|
|00000ac0| 61 6c 5f 74 09 09 64 69 | 61 6c 3b 09 09 09 2f 2f |al_t..di|al;...//|
|00000ad0| 20 68 6f 77 20 74 6f 20 | 64 69 61 6c 20 74 68 65 | how to |dial the|
|00000ae0| 20 70 68 6f 6e 65 0d 09 | 73 68 6f 72 74 09 09 62 | phone..|short..b|
|00000af0| 61 75 64 5f 72 61 74 65 | 3b 09 09 2f 2f 20 74 68 |aud_rate|;..// th|
|00000b00| 65 20 62 61 75 64 20 72 | 61 74 65 0d 09 73 68 6f |e baud r|ate..sho|
|00000b10| 72 74 09 09 73 74 6f 70 | 5f 62 69 74 73 3b 09 09 |rt..stop|_bits;..|
|00000b20| 2f 2f 20 6e 75 6d 62 65 | 72 20 6f 66 20 73 74 6f |// numbe|r of sto|
|00000b30| 70 20 62 69 74 73 0d 09 | 73 68 6f 72 74 09 09 70 |p bits..|short..p|
|00000b40| 61 72 69 74 79 3b 09 09 | 09 2f 2f 20 70 61 72 69 |arity;..|.// pari|
|00000b50| 74 79 20 73 65 74 74 69 | 6e 67 0d 09 73 68 6f 72 |ty setti|ng..shor|
|00000b60| 74 09 09 64 61 74 61 5f | 62 69 74 73 3b 09 09 2f |t..data_|bits;../|
|00000b70| 2f 20 6e 75 6d 62 65 72 | 20 6f 66 20 64 61 74 61 |/ number| of data|
|00000b80| 20 62 69 74 73 0d 09 0d | 7d 20 6d 6f 64 65 6d 5f | bits...|} modem_|
|00000b90| 70 61 72 61 6d 73 5f 72 | 65 63 3b 0d 0d 49 6e 20 |params_r|ec;..In |
|00000ba0| 74 68 65 20 61 62 6f 76 | 65 20 72 65 63 6f 72 64 |the abov|e record|
|00000bb0| 2c 20 20 69 64 6c 65 5f | 70 72 6f 63 20 63 6f 6e |, idle_|proc con|
|00000bc0| 74 61 69 6e 73 20 61 6e | 20 6f 70 74 69 6f 6e 61 |tains an| optiona|
|00000bd0| 6c 20 70 6f 69 6e 74 65 | 72 20 74 6f 20 61 20 66 |l pointe|r to a f|
|00000be0| 75 6e 63 74 69 6f 6e 20 | 74 68 61 74 20 67 65 74 |unction |that get|
|00000bf0| 73 20 63 61 6c 6c 65 64 | 20 72 65 70 65 61 74 65 |s called| repeate|
|00000c00| 64 6c 79 20 61 6e 79 20 | 74 69 6d 65 20 61 6e 20 |dly any |time an |
|00000c10| 49 2f 4f 20 6c 6f 6f 70 | 20 69 73 20 69 6e 20 70 |I/O loop| is in p|
|00000c20| 72 6f 67 72 65 73 73 20 | 28 69 6e 63 6c 75 64 69 |rogress |(includi|
|00000c30| 6e 67 20 77 61 69 74 69 | 6e 67 20 66 6f 72 20 61 |ng waiti|ng for a|
|00000c40| 20 63 61 6c 6c 20 61 6e | 64 20 64 69 61 6c 69 6e | call an|d dialin|
|00000c50| 67 20 6f 75 74 20 66 6f | 72 20 61 20 63 6f 6e 6e |g out fo|r a conn|
|00000c60| 65 63 74 69 6f 6e 29 2e | 20 20 49 66 20 79 6f 75 |ection).| If you|
|00000c70| 20 77 61 6e 74 20 74 6f | 20 75 73 65 20 69 74 2c | want to| use it,|
|00000c80| 20 73 65 65 20 74 68 65 | 20 73 65 63 74 69 6f 6e | see the| section|
|00000c90| 20 4d 6f 64 65 6d 20 49 | 64 6c 65 20 50 72 6f 63 | Modem I|dle Proc|
|00000ca0| 20 61 20 66 65 77 20 70 | 61 67 65 73 20 61 68 65 | a few p|ages ahe|
|00000cb0| 61 64 2e 0d 0d 54 68 65 | 20 20 62 75 66 66 65 72 |ad...The| buffer|
|00000cc0| 5f 73 69 7a 65 20 66 69 | 65 6c 64 20 69 6e 64 69 |_size fi|eld indi|
|00000cd0| 63 61 74 65 73 20 68 6f | 77 20 6c 61 72 67 65 20 |cates ho|w large |
|00000ce0| 74 6f 20 6d 61 6b 65 20 | 74 68 65 20 69 6e 70 75 |to make |the inpu|
|00000cf0| 74 20 62 75 66 66 65 72 | 20 28 61 72 65 61 20 6f |t buffer| (area o|
|00000d00| 66 20 6d 65 6d 6f 72 79 | 20 74 68 61 74 20 68 6f |f memory| that ho|
|00000d10| 6c 64 73 20 69 6e 63 6f | 6d 69 6e 67 20 63 68 61 |lds inco|ming cha|
|00000d20| 72 61 63 74 65 72 73 29 | 2e 0d 0d 54 68 65 20 70 |racters)|...The p|
|00000d30| 6f 72 74 20 70 61 72 61 | 6d 65 74 65 72 20 69 6e |ort para|meter in|
|00000d40| 64 69 63 61 74 65 73 20 | 77 68 69 63 68 20 73 65 |dicates |which se|
|00000d50| 72 69 61 6c 20 70 6f 72 | 74 20 74 6f 20 75 73 65 |rial por|t to use|
|00000d60| 2c 20 77 68 69 63 68 20 | 6d 75 73 74 20 62 65 20 |, which |must be |
|00000d70| 6f 6e 65 20 6f 66 20 74 | 68 65 20 66 6f 6c 6c 6f |one of t|he follo|
|00000d80| 77 69 6e 67 3a 0d 0d 30 | 20 09 6d 6f 64 65 6d 5f |wing:..0| .modem_|
|00000d90| 70 6f 72 74 20 09 4d 6f | 64 65 6d 20 70 6f 72 74 |port .Mo|dem port|
|00000da0| 0d 31 09 70 72 69 6e 74 | 65 72 5f 70 6f 72 74 20 |.1.print|er_port |
|00000db0| 09 50 72 69 6e 74 65 72 | 20 70 6f 72 74 0d 0d 54 |.Printer| port..T|
|00000dc0| 68 65 20 64 69 61 6c 20 | 70 61 72 61 6d 65 74 65 |he dial |paramete|
|00000dd0| 72 20 69 6e 64 69 63 61 | 74 65 73 20 77 68 69 63 |r indica|tes whic|
|00000de0| 68 20 74 79 70 65 20 6f | 66 20 64 69 61 6c 69 6e |h type o|f dialin|
|00000df0| 67 20 79 6f 75 20 77 61 | 6e 74 2c 20 77 68 69 63 |g you wa|nt, whic|
|00000e00| 68 20 69 73 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |h is one| of the |
|00000e10| 66 6f 6c 6c 6f 77 69 6e | 67 3a 0d 0d 30 09 64 69 |followin|g:..0.di|
|00000e20| 61 6c 5f 74 6f 75 63 68 | 5f 74 6f 6e 65 09 70 68 |al_touch|_tone.ph|
|00000e30| 6f 6e 65 20 73 68 6f 75 | 6c 64 20 62 65 20 64 69 |one shou|ld be di|
|00000e40| 61 6c 65 64 20 77 69 74 | 68 20 74 6f 6e 65 73 0d |aled wit|h tones.|
|00000e50| 00 01 00 09 00 18 00 0e | 00 09 00 12 00 0f 00 09 |........|........|
|00000e60| 00 06 00 15 00 09 00 12 | 00 16 00 09 00 18 00 17 |........|........|
|00000e70| 00 09 00 18 00 30 00 0d | 00 00 00 31 00 09 00 18 |.....0..|...1....|
|00000e80| 00 37 00 09 00 3c 00 38 | 00 09 00 06 00 43 00 09 |.7...<.8|.....C..|
|00000e90| 00 0c 00 44 00 09 00 18 | 00 55 00 0d 00 00 00 56 |...D....|.U.....V|
|00000ea0| 00 09 00 18 00 5c 00 09 | 00 3c 00 5d 00 09 00 06 |.....\..|.<.]....|
|00000eb0| 00 68 00 09 00 0c 00 69 | 00 09 00 18 00 80 00 0d |.h.....i|........|
|00000ec0| 00 00 00 81 00 09 00 18 | 00 87 00 09 00 3c 00 88 |........|.....<..|
|00000ed0| 00 09 00 06 00 90 00 09 | 00 06 00 91 00 09 00 18 |........|........|
|00000ee0| 00 92 00 09 00 18 00 a4 | 00 0d 00 00 00 a5 00 09 |........|........|
|00000ef0| 00 18 00 ab 00 09 00 3c | 00 ac 00 09 00 06 00 b7 |.......<|........|
|00000f00| 00 09 00 0c 00 b8 00 09 | 00 18 00 cf 00 0d 00 00 |........|........|
|00000f10| 00 d0 00 09 00 18 00 d1 | 00 0d 00 00 00 e5 00 0d |........|........|
|00000f20| 00 00 00 e6 00 0d 00 00 | 01 fd 00 0d 00 00 01 fe |........|........|
|00000f30| 00 0d 00 00 02 73 00 0d | 00 00 02 74 00 0d 00 00 |.....s..|...t....|
|00000f40| 02 cf 00 0d 00 00 02 d0 | 00 0d 00 00 02 d3 00 09 |........|........|
|00000f50| 00 22 02 df 00 09 00 2f | 02 ea 00 0d 00 00 02 ec |."...../|........|
|00000f60| 00 09 00 28 02 fa 00 09 | 00 23 03 07 00 0d 00 00 |...(....|.#......|
|00000f70| 03 08 00 0d 00 00 03 64 | 00 0d 00 00 03 65 00 0d |.......d|.....e..|
|00000f80| 00 00 03 67 00 09 00 24 | 03 77 00 09 00 1b 03 99 |...g...$|.w......|
|00000f90| 00 0d 00 00 31 09 64 69 | 61 6c 5f 70 75 6c 73 65 |....1.di|al_pulse|
|00000fa0| 09 70 68 6f 6e 65 20 73 | 68 6f 75 6c 64 20 62 65 |.phone s|hould be|
|00000fb0| 20 64 69 61 6c 65 64 20 | 77 69 74 68 20 70 75 6c | dialed |with pul|
|00000fc0| 73 65 73 0d 0d 54 68 65 | 20 62 61 75 64 5f 72 61 |ses..The| baud_ra|
|00000fd0| 74 65 20 70 61 72 61 6d | 65 74 65 72 20 69 6e 64 |te param|eter ind|
|00000fe0| 69 63 61 74 65 73 20 74 | 68 65 20 62 61 75 64 20 |icates t|he baud |
|00000ff0| 72 61 74 65 20 74 6f 20 | 73 65 6e 64 20 74 68 72 |rate to |send thr|
|00001000| 6f 75 67 68 20 74 68 65 | 20 73 65 72 69 61 6c 20 |ough the| serial |
|00001010| 70 6f 72 74 2e 20 20 54 | 68 65 20 76 61 6c 75 65 |port. T|he value|
|00001020| 20 74 68 61 74 20 73 68 | 6f 75 6c 64 20 67 6f 20 | that sh|ould go |
|00001030| 68 65 72 65 20 69 73 20 | 69 64 65 6e 74 69 63 61 |here is |identica|
|00001040| 6c 20 74 6f 20 74 68 6f | 73 65 20 64 65 66 69 6e |l to tho|se defin|
|00001050| 65 64 20 69 6e 20 49 6e | 73 69 64 65 20 4d 61 63 |ed in In|side Mac|
|00001060| 69 6e 74 6f 73 68 20 56 | 6f 6c 2e 20 49 49 20 66 |intosh V|ol. II f|
|00001070| 6f 72 20 74 68 65 20 73 | 65 72 69 61 6c 20 70 6f |or the s|erial po|
|00001080| 72 74 2e 20 20 0d 0d 62 | 61 75 64 33 30 30 09 09 |rt. ..b|aud300..|
|00001090| 33 30 30 20 62 61 75 64 | 0d 62 61 75 64 31 32 30 |300 baud|.baud120|
|000010a0| 30 09 31 32 30 30 20 62 | 61 75 64 0d 62 61 75 64 |0.1200 b|aud.baud|
|000010b0| 32 34 30 30 09 32 34 30 | 30 20 62 61 75 64 0d 62 |2400.240|0 baud.b|
|000010c0| 61 75 64 39 36 30 30 09 | 39 36 30 30 20 62 61 75 |aud9600.|9600 bau|
|000010d0| 64 0d 0d 0d 54 68 65 20 | 73 74 6f 70 5f 62 69 74 |d...The |stop_bit|
|000010e0| 73 2c 20 70 61 72 69 74 | 79 20 61 6e 64 20 64 61 |s, parit|y and da|
|000010f0| 74 61 5f 62 69 74 73 20 | 70 61 72 61 6d 65 74 65 |ta_bits |paramete|
|00001100| 72 73 20 69 6e 64 69 63 | 61 74 65 20 74 68 65 20 |rs indic|ate the |
|00001110| 6e 75 6d 62 65 72 20 6f | 66 20 73 74 6f 70 20 62 |number o|f stop b|
|00001120| 69 74 73 2c 20 74 68 65 | 20 70 61 72 69 74 79 20 |its, the| parity |
|00001130| 61 6e 64 20 6e 75 6d 62 | 65 72 20 6f 66 20 64 61 |and numb|er of da|
|00001140| 74 61 20 62 69 74 73 20 | 74 6f 20 75 73 65 2c 20 |ta bits |to use, |
|00001150| 72 65 73 70 65 63 74 69 | 76 65 6c 79 2e 20 20 46 |respecti|vely. F|
|00001160| 6f 72 20 65 61 63 68 20 | 6f 66 20 74 68 65 73 65 |or each |of these|
|00001170| 2c 20 79 6f 75 20 77 69 | 6c 6c 20 6d 6f 73 74 20 |, you wi|ll most |
|00001180| 6f 66 74 65 6e 20 75 73 | 65 20 74 68 65 20 64 65 |often us|e the de|
|00001190| 66 61 75 6c 74 73 20 28 | 6d 65 61 6e 69 6e 67 20 |faults (|meaning |
|000011a0| 79 6f 75 20 64 6f 6e 27 | 74 20 6e 65 65 64 20 74 |you don'|t need t|
|000011b0| 6f 20 63 68 61 6e 67 65 | 20 74 68 65 6d 29 2e 20 |o change| them). |
|000011c0| 20 48 6f 77 65 76 65 72 | 2c 20 69 66 20 79 6f 75 | However|, if you|
|000011d0| 20 6e 65 65 64 20 73 6f | 6d 65 74 68 69 6e 67 20 | need so|mething |
|000011e0| 64 69 66 66 65 72 65 6e | 74 20 79 6f 75 20 73 68 |differen|t you sh|
|000011f0| 6f 75 6c 64 20 6d 61 6b | 65 20 74 68 65 20 63 6f |ould mak|e the co|
|00001200| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 66 69 65 6c |rrespond|ing fiel|
|00001210| 64 28 73 29 20 74 68 65 | 20 64 65 73 69 72 65 64 |d(s) the| desired|
|00001220| 20 76 61 6c 75 65 20 61 | 73 20 64 65 66 69 6e 65 | value a|s define|
|00001230| 64 20 69 6e 20 49 6e 73 | 69 64 65 20 4d 61 63 69 |d in Ins|ide Maci|
|00001240| 6e 74 6f 73 68 20 28 73 | 65 65 20 54 68 65 20 53 |ntosh (s|ee The S|
|00001250| 65 72 69 61 6c 20 44 72 | 69 76 65 72 29 2e 0d 20 |erial Dr|iver).. |
|00001260| 0d 43 61 6c 6c 69 6e 67 | 20 4d 6f 64 65 6d 47 65 |.Calling| ModemGe|
|00001270| 74 44 65 66 61 75 6c 74 | 73 20 66 69 6c 6c 73 20 |tDefault|s fills |
|00001280| 69 6e 20 61 6c 6c 20 74 | 68 65 20 64 65 66 61 75 |in all t|he defau|
|00001290| 6c 74 73 20 69 6e 20 74 | 68 65 20 70 61 72 61 6d |lts in t|he param|
|000012a0| 65 74 65 72 20 72 65 63 | 6f 72 64 20 70 61 73 73 |eter rec|ord pass|
|000012b0| 65 64 20 69 6e 20 70 61 | 72 6d 5f 70 74 72 2e 0d |ed in pa|rm_ptr..|
|000012c0| 0d 50 61 72 61 6d 65 74 | 65 72 20 44 65 66 61 75 |.Paramet|er Defau|
|000012d0| 6c 74 73 3a 0d 00 02 00 | 09 00 24 00 0d 00 09 00 |lts:....|..$.....|
|000012e0| 39 00 30 00 0d 00 00 00 | 31 00 0d 00 00 00 f2 00 |9.0.....|1.......|
|000012f0| 0d 00 00 00 f3 00 0d 00 | 00 00 fb 00 09 00 06 00 |........|........|
|00001300| fc 00 09 00 18 01 05 00 | 0d 00 00 01 0e 00 09 00 |........|........|
|00001310| 18 01 18 00 0d 00 00 01 | 21 00 09 00 18 01 2b 00 |........|!.....+.|
|00001320| 0d 00 00 01 34 00 09 00 | 18 01 3e 00 0d 00 00 01 |....4...|..>.....|
|00001330| 3f 00 0d 00 00 01 40 00 | 0d 00 00 02 cb 00 0d 00 |?.....@.|........|
|00001340| 00 02 cd 00 0d 00 00 03 | 2c 00 0d 00 00 03 2d 00 |........|,.....-.|
|00001350| 0d 00 00 03 41 00 0d 00 | 00 0d 46 69 65 6c 64 09 |....A...|..Field.|
|00001360| 44 65 66 61 75 6c 74 20 | 56 61 6c 75 65 0d 0d 69 |Default |Value..i|
|00001370| 64 6c 65 5f 70 72 6f 63 | 09 4e 49 4c 20 28 6e 6f |dle_proc|.NIL (no|
|00001380| 20 69 64 6c 65 20 70 72 | 6f 63 29 0d 62 75 66 66 | idle pr|oc).buff|
|00001390| 65 72 5f 73 69 7a 65 20 | 09 31 30 32 34 20 28 31 |er_size |.1024 (1|
|000013a0| 2c 30 32 34 20 62 79 74 | 65 73 29 0d 70 6f 72 74 |,024 byt|es).port|
|000013b0| 20 09 6d 6f 64 65 6d 5f | 70 6f 72 74 20 28 6d 6f | .modem_|port (mo|
|000013c0| 64 65 6d 20 70 6f 72 74 | 29 0d 64 69 61 6c 20 09 |dem port|).dial .|
|000013d0| 64 69 61 6c 5f 74 6f 75 | 63 68 5f 74 6f 6e 65 20 |dial_tou|ch_tone |
|000013e0| 28 74 6f 75 63 68 2d 74 | 6f 6e 65 20 64 69 61 6c |(touch-t|one dial|
|000013f0| 69 6e 67 29 0d 62 61 75 | 64 5f 72 61 74 65 20 09 |ing).bau|d_rate .|
|00001400| 62 61 75 64 32 34 30 30 | 20 28 32 34 30 30 20 62 |baud2400| (2400 b|
|00001410| 61 75 64 29 0d 73 74 6f | 70 5f 62 69 74 73 20 09 |aud).sto|p_bits .|
|00001420| 73 74 6f 70 32 30 20 28 | 32 20 73 74 6f 70 20 62 |stop20 (|2 stop b|
|00001430| 69 74 73 29 0d 70 61 72 | 69 74 79 20 09 6e 6f 50 |its).par|ity .noP|
|00001440| 61 72 69 74 79 20 28 6e | 6f 20 70 61 72 69 74 79 |arity (n|o parity|
|00001450| 29 0d 64 61 74 61 5f 62 | 69 74 73 20 09 64 61 74 |).data_b|its .dat|
|00001460| 61 38 20 28 38 20 64 61 | 74 61 20 62 69 74 73 29 |a8 (8 da|ta bits)|
|00001470| 0d 0d 0d 54 68 65 20 49 | 64 6c 65 20 50 72 6f 63 |...The I|dle Proc|
|00001480| 0d 0d 53 65 74 74 69 6e | 67 20 74 68 65 20 69 64 |..Settin|g the id|
|00001490| 6c 65 5f 70 72 6f 63 20 | 66 69 65 6c 64 20 69 73 |le_proc |field is|
|000014a0| 20 61 6c 6d 6f 73 74 20 | 6d 61 6e 64 61 74 6f 72 | almost |mandator|
|000014b0| 79 20 69 66 20 79 6f 75 | 20 77 61 6e 74 20 74 68 |y if you| want th|
|000014c0| 65 20 61 62 69 6c 69 74 | 79 20 74 6f 20 61 62 6f |e abilit|y to abo|
|000014d0| 72 74 20 61 20 73 65 72 | 69 61 6c 20 63 6f 6d 6d |rt a ser|ial comm|
|000014e0| 75 6e 69 63 61 74 69 6f | 6e 20 28 65 69 74 68 65 |unicatio|n (eithe|
|000014f0| 72 20 62 79 20 74 68 65 | 20 75 73 65 72 20 63 61 |r by the| user ca|
|00001500| 6e 63 65 6c 69 6e 67 20 | 6f 72 20 74 68 72 6f 75 |nceling |or throu|
|00001510| 67 68 20 61 20 74 69 6d | 65 6f 75 74 29 2e 0d 00 |gh a tim|eout)...|
|00001520| 01 00 0d 00 00 00 07 00 | 09 00 55 00 15 00 0d 00 |........|..U.....|
|00001530| 00 00 16 00 0d 00 00 00 | 20 00 09 00 3c 00 33 00 |........| ...<.3.|
|00001540| 0d 00 00 00 40 00 09 00 | 2a 00 53 00 0d 00 00 00 |....@...|*.S.....|
|00001550| 59 00 09 00 54 00 71 00 | 0d 00 00 00 77 00 09 00 |Y...T.q.|....w...|
|00001560| 54 00 9c 00 0d 00 00 00 | a7 00 09 00 36 00 bc 00 |T.......|....6...|
|00001570| 0d 00 00 00 c7 00 09 00 | 36 00 dc 00 0d 00 00 00 |........|6.......|
|00001580| e4 00 09 00 48 00 f9 00 | 0d 00 00 01 04 00 09 00 |....H...|........|
|00001590| 36 01 18 00 0d 00 00 01 | 19 00 0d 00 00 01 1a 00 |6.......|........|
|000015a0| 0d 00 00 01 28 00 0d 00 | 00 01 29 00 0d 00 00 01 |....(...|..).....|
|000015b0| c6 00 0d 00 00 0d 54 6f | 20 75 73 65 20 74 68 65 |......To| use the|
|000015c0| 20 69 64 6c 65 20 70 72 | 6f 63 2c 20 79 6f 75 20 | idle pr|oc, you |
|000015d0| 6d 75 73 74 20 73 65 74 | 20 61 20 70 6f 69 6e 74 |must set| a point|
|000015e0| 65 72 20 74 6f 20 61 20 | 66 75 6e 63 74 69 6f 6e |er to a |function|
|000015f0| 20 28 77 68 69 63 68 20 | 79 6f 75 20 63 72 65 61 | (which |you crea|
|00001600| 74 65 29 20 69 6e 20 74 | 68 65 20 69 64 6c 65 5f |te) in t|he idle_|
|00001610| 70 72 6f 63 20 66 69 65 | 6c 64 20 69 6e 20 74 68 |proc fie|ld in th|
|00001620| 65 20 6d 6f 64 65 6d 5f | 70 61 72 61 6d 73 5f 72 |e modem_|params_r|
|00001630| 65 63 3b 20 20 64 6f 20 | 74 68 69 73 20 61 66 74 |ec; do |this aft|
|00001640| 65 72 20 79 6f 75 20 68 | 61 76 65 20 63 61 6c 6c |er you h|ave call|
|00001650| 65 64 20 4d 6f 64 65 6d | 47 65 74 44 65 66 61 75 |ed Modem|GetDefau|
|00001660| 6c 74 73 20 61 6e 64 20 | 62 65 66 6f 72 65 20 4d |lts and |before M|
|00001670| 6f 64 65 6d 4f 70 65 6e | 2e 0d 0d 59 6f 75 72 20 |odemOpen|...Your |
|00001680| 69 64 6c 65 20 70 72 6f | 63 20 6d 75 73 74 20 62 |idle pro|c must b|
|00001690| 65 20 64 65 66 69 6e 65 | 64 20 61 73 20 66 6f 6c |e define|d as fol|
|000016a0| 6c 6f 77 73 3a 0d 0d 70 | 61 73 63 61 6c 20 73 68 |lows:..p|ascal sh|
|000016b0| 6f 72 74 20 6d 6f 64 65 | 6d 5f 69 64 6c 65 5f 70 |ort mode|m_idle_p|
|000016c0| 72 6f 63 28 6d 6f 64 65 | 6d 5f 69 64 6c 65 5f 70 |roc(mode|m_idle_p|
|000016d0| 72 6f 63 5f 74 20 69 64 | 6c 65 29 3b 20 0d 46 55 |roc_t id|le); .FU|
|000016e0| 4e 43 54 49 4f 4e 20 6d | 6f 64 65 6d 5f 69 64 6c |NCTION m|odem_idl|
|000016f0| 65 5f 70 72 6f 63 20 28 | 69 64 6c 65 3a 20 49 4e |e_proc (|idle: IN|
|00001700| 54 45 47 45 52 29 3a 20 | 49 4e 54 45 47 45 52 3b |TEGER): |INTEGER;|
|00001710| 0d 0d 57 68 65 6e 65 76 | 65 72 20 61 20 22 6c 6f |..Whenev|er a "lo|
|00001720| 6f 70 22 20 6f 63 63 75 | 72 73 20 6f 66 20 61 6e |op" occu|rs of an|
|00001730| 79 20 6b 69 6e 64 2c 20 | 74 68 65 20 69 64 6c 65 |y kind, |the idle|
|00001740| 20 70 72 6f 63 20 67 65 | 74 73 20 63 61 6c 6c 65 | proc ge|ts calle|
|00001750| 64 20 72 65 70 65 61 74 | 65 64 6c 79 2e 20 20 57 |d repeat|edly. W|
|00001760| 68 65 6e 20 74 68 69 73 | 20 68 61 70 70 65 6e 73 |hen this| happens|
|00001770| 2c 20 74 68 65 20 69 64 | 6c 65 20 70 61 72 61 6d |, the id|le param|
|00001780| 65 74 65 72 20 77 69 6c | 6c 20 62 65 20 6f 6e 65 |eter wil|l be one|
|00001790| 20 6f 66 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | of the |followin|
|000017a0| 67 3a 0d 00 01 00 0d 00 | 00 00 c5 00 0d 00 00 00 |g:......|........|
|000017b0| c6 00 0d 00 00 00 f1 00 | 0d 00 00 00 f2 00 0d 00 |........|........|
|000017c0| 00 01 29 00 0d 00 00 01 | 5c 00 0d 00 00 01 5d 00 |..).....|\.....].|
|000017d0| 0d 00 00 01 ee 00 0d 00 | 00 0d 30 09 6d 6f 64 65 |........|..0.mode|
|000017e0| 6d 5f 69 64 6c 65 5f 70 | 72 65 70 61 72 65 09 73 |m_idle_p|repare.s|
|000017f0| 6f 6d 65 74 68 69 6e 67 | 27 73 20 61 62 6f 75 74 |omething|'s about|
|00001800| 20 74 6f 20 73 74 61 72 | 74 0d 31 09 6d 6f 64 65 | to star|t.1.mode|
|00001810| 6d 5f 69 64 6c 65 5f 69 | 64 6c 69 6e 67 09 73 6f |m_idle_i|dling.so|
|00001820| 6d 65 74 68 69 6e 67 27 | 73 20 6f 63 63 75 72 72 |mething'|s occurr|
|00001830| 69 6e 67 0d 32 09 6d 6f | 64 65 6d 5f 69 64 6c 65 |ing.2.mo|dem_idle|
|00001840| 5f 64 6f 6e 65 09 69 74 | 27 73 20 6f 76 65 72 0d |_done.it|'s over.|
|00001850| 0d 54 68 65 20 66 69 72 | 73 74 20 76 61 6c 75 65 |.The fir|st value|
|00001860| 20 d1 20 6d 6f 64 65 6d | 5f 69 64 6c 65 5f 70 72 | . modem|_idle_pr|
|00001870| 65 70 61 72 65 20 d1 20 | 69 73 20 73 65 6e 74 20 |epare . |is sent |
|00001880| 74 6f 20 74 68 65 20 69 | 64 6c 65 20 70 72 6f 63 |to the i|dle proc|
|00001890| 20 62 65 66 6f 72 65 20 | 73 6f 6d 65 74 68 69 6e | before |somethin|
|000018a0| 67 20 6f 63 63 75 72 73 | 20 28 66 6f 72 20 69 6e |g occurs| (for in|
|000018b0| 73 74 61 6e 63 65 2c 20 | 6a 75 73 74 20 62 65 66 |stance, |just bef|
|000018c0| 6f 72 65 20 61 20 64 69 | 61 6c 2d 6f 75 74 20 69 |ore a di|al-out i|
|000018d0| 73 20 61 74 74 65 6d 70 | 74 65 64 29 2e 20 20 57 |s attemp|ted). W|
|000018e0| 68 65 6e 20 61 20 72 65 | 73 70 6f 6e 73 65 20 66 |hen a re|sponse f|
|000018f0| 72 6f 6d 20 61 20 6d 6f | 64 65 6d 20 69 73 20 65 |rom a mo|dem is e|
|00001900| 78 70 65 63 74 65 64 2c | 20 74 68 65 20 69 64 6c |xpected,| the idl|
|00001910| 65 20 70 72 6f 63 20 77 | 69 6c 6c 20 67 65 74 20 |e proc w|ill get |
|00001920| 63 61 6c 6c 65 64 20 63 | 6f 6e 74 69 6e 75 6f 75 |called c|ontinuou|
|00001930| 73 6c 79 20 77 69 74 68 | 20 20 6d 6f 64 65 6d 5f |sly with| modem_|
|00001940| 69 64 6c 65 5f 69 64 6c | 69 6e 67 20 66 6f 72 20 |idle_idl|ing for |
|00001950| 74 68 65 20 69 64 6c 65 | 20 76 61 6c 75 65 2e 20 |the idle| value. |
|00001960| 20 46 69 6e 61 6c 6c 79 | 2c 20 77 68 65 6e 20 74 | Finally|, when t|
|00001970| 68 65 20 61 63 74 69 76 | 69 74 79 20 68 61 73 20 |he activ|ity has |
|00001980| 74 65 72 6d 69 6e 61 74 | 65 64 2c 20 74 68 65 20 |terminat|ed, the |
|00001990| 69 64 6c 65 20 70 72 6f | 63 20 67 65 74 73 20 63 |idle pro|c gets c|
|000019a0| 61 6c 6c 65 64 20 6f 6e | 65 20 6d 6f 72 65 20 74 |alled on|e more t|
|000019b0| 69 6d 65 20 77 69 74 68 | 20 20 6d 6f 64 65 6d 5f |ime with| modem_|
|000019c0| 69 64 6c 65 5f 64 6f 6e | 65 2e 0d 0d 49 66 20 79 |idle_don|e...If y|
|000019d0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 22 61 62 6f 72 |ou want |to "abor|
|000019e0| 74 22 20 77 68 61 74 65 | 76 65 72 20 69 73 20 68 |t" whate|ver is h|
|000019f0| 61 70 70 65 6e 69 6e 67 | 2c 20 79 6f 75 20 73 68 |appening|, you sh|
|00001a00| 6f 75 6c 64 20 72 65 74 | 75 72 6e 20 46 41 4c 53 |ould ret|urn FALS|
|00001a10| 45 20 28 30 29 20 61 73 | 20 74 68 65 20 66 75 6e |E (0) as| the fun|
|00001a20| 63 74 69 6f 6e 20 72 65 | 73 75 6c 74 2c 20 6f 74 |ction re|sult, ot|
|00001a30| 68 65 72 77 69 73 65 20 | 72 65 74 75 72 6e 20 54 |herwise |return T|
|00001a40| 52 55 45 20 28 6e 6f 6e | 2d 7a 65 72 6f 29 2e 20 |RUE (non|-zero). |
|00001a50| 4e 4f 54 45 3a 20 45 76 | 65 6e 20 69 66 20 79 6f |NOTE: Ev|en if yo|
|00001a60| 75 72 20 69 64 6c 65 5f | 70 72 6f 63 20 61 62 6f |ur idle_|proc abo|
|00001a70| 72 74 73 2c 20 69 74 20 | 77 69 6c 6c 20 73 74 69 |rts, it |will sti|
|00001a80| 6c 6c 20 67 65 74 20 74 | 68 65 20 66 69 6e 61 6c |ll get t|he final|
|00001a90| 20 6d 6f 64 65 6d 5f 69 | 64 6c 65 5f 64 6f 6e 65 | modem_i|dle_done|
|00001aa0| 20 6d 65 73 73 61 67 65 | 2e 0d 0d 53 74 61 72 74 | message|...Start|
|00001ab0| 69 6e 67 0d 0d 70 61 73 | 63 61 6c 20 4f 53 45 72 |ing..pas|cal OSEr|
|00001ac0| 72 20 4d 6f 64 65 6d 4f | 70 65 6e 28 63 6f 6e 73 |r ModemO|pen(cons|
|00001ad0| 74 20 6d 6f 64 65 6d 5f | 70 61 72 61 6d 73 5f 72 |t modem_|params_r|
|00001ae0| 65 63 20 2a 70 61 72 61 | 6d 73 2c 0d 00 01 00 0d |ec *para|ms,.....|
|00001af0| 00 00 00 03 00 09 00 1b | 00 16 00 09 00 1b 00 31 |........|.......1|
|00001b00| 00 0d 00 00 00 33 00 09 | 00 1b 00 45 00 09 00 21 |.....3..|...E...!|
|00001b10| 00 5b 00 0d 00 00 00 5d | 00 09 00 1b 00 6d 00 09 |.[.....]|.....m..|
|00001b20| 00 2d 00 77 00 0d 00 00 | 00 78 00 0d 00 00 01 f2 |.-.w....|.x......|
|00001b30| 00 0d 00 00 01 f3 00 0d | 00 00 02 d1 00 0d 00 00 |........|........|
|00001b40| 02 d2 00 0d 00 00 02 db | 00 0d 00 00 02 dc 00 0d |........|........|
|00001b50| 00 00 03 13 00 0d 00 00 | 09 6d 6f 64 65 6d 5f 68 |........|.modem_h|
|00001b60| 61 6e 64 6c 65 20 2a 6d | 6f 64 65 6d 5f 72 65 66 |andle *m|odem_ref|
|00001b70| 29 3b 0d 46 55 4e 43 54 | 49 4f 4e 20 4d 6f 64 65 |);.FUNCT|ION Mode|
|00001b80| 6d 4f 70 65 6e 20 28 70 | 61 72 61 6d 73 3a 20 6d |mOpen (p|arams: m|
|00001b90| 6f 64 65 6d 5f 70 61 72 | 61 6d 73 5f 72 65 63 3b |odem_par|ams_rec;|
|00001ba0| 0d 09 56 41 52 20 6d 6f | 64 65 6d 5f 72 65 66 3a |..VAR mo|dem_ref:|
|00001bb0| 20 6d 6f 64 65 6d 5f 68 | 61 6e 64 6c 65 29 3a 20 | modem_h|andle): |
|00001bc0| 4f 53 45 72 72 3b 0d 0d | 43 72 65 61 74 65 73 20 |OSErr;..|Creates |
|00001bd0| 61 20 6e 65 77 20 6d 6f | 64 65 6d 5f 68 61 6e 64 |a new mo|dem_hand|
|00001be0| 6c 65 20 61 6e 64 20 69 | 6e 69 74 69 61 6c 69 7a |le and i|nitializ|
|00001bf0| 65 73 20 74 68 65 20 6d | 6f 64 65 6d 2e 0d 00 01 |es the m|odem....|
|00001c00| 00 09 00 7f 00 1b 00 0d | 00 00 00 49 00 0d 00 00 |........|...I....|
|00001c10| 00 4a 00 09 00 7f 00 6f | 00 0d 00 00 00 70 00 0d |.J.....o|.....p..|
|00001c20| 00 00 00 a6 00 0d 00 00 | 0d 43 72 65 61 74 69 6e |........|.Creatin|
|00001c30| 67 20 61 20 6d 6f 64 65 | 6d 5f 68 61 6e 64 6c 65 |g a mode|m_handle|
|00001c40| 20 69 73 20 72 65 71 75 | 69 72 65 64 20 74 6f 20 | is requ|ired to |
|00001c50| 6d 61 6b 65 20 61 20 63 | 6f 6e 6e 65 63 74 69 6f |make a c|onnectio|
|00001c60| 6e 20 6c 61 74 65 72 20 | 6f 6e 20 77 69 74 68 20 |n later |on with |
|00001c70| 61 20 6d 6f 64 65 6d 2e | 0d 0d 54 68 65 20 70 6f |a modem.|..The po|
|00001c80| 72 74 20 74 68 61 74 20 | 69 73 20 75 73 65 64 20 |rt that |is used |
|00001c90| 28 73 65 72 69 61 6c 20 | 70 6f 72 74 20 76 73 2e |(serial |port vs.|
|00001ca0| 20 70 72 69 6e 74 65 72 | 20 70 6f 72 74 29 2c 20 | printer| port), |
|00001cb0| 74 68 65 20 62 61 75 64 | 20 72 61 74 65 20 61 6e |the baud| rate an|
|00001cc0| 64 20 61 6c 6c 20 74 68 | 65 20 6f 74 68 65 72 20 |d all th|e other |
|00001cd0| 73 65 72 69 61 6c 20 70 | 61 72 61 6d 65 74 65 72 |serial p|arameter|
|00001ce0| 73 20 61 72 65 20 74 61 | 6b 65 6e 20 66 72 6f 6d |s are ta|ken from|
|00001cf0| 20 70 61 72 61 6d 73 2e | 20 20 49 66 20 79 6f 75 | params.| If you|
|00001d00| 20 70 61 73 73 20 4e 49 | 4c 20 66 6f 72 20 70 61 | pass NI|L for pa|
|00001d10| 72 61 6d 73 2c 20 74 68 | 65 20 64 65 66 61 75 6c |rams, th|e defaul|
|00001d20| 74 20 76 61 6c 75 65 73 | 20 77 69 6c 6c 20 62 65 |t values| will be|
|00001d30| 20 75 73 65 64 2e 20 0d | 00 01 00 0d 00 00 00 51 | used. .|.......Q|
|00001d40| 00 0d 00 00 00 52 00 0d | 00 00 01 10 00 0d 00 00 |.....R..|........|
|00001d50| 0d 54 68 65 20 69 64 6c | 65 5f 70 72 6f 63 20 77 |.The idl|e_proc w|
|00001d60| 69 74 68 69 6e 20 70 61 | 72 61 6d 73 20 69 73 20 |ithin pa|rams is |
|00001d70| 61 6c 73 6f 20 63 61 6c | 6c 65 64 20 72 65 70 65 |also cal|led repe|
|00001d80| 61 74 65 64 6c 79 20 77 | 68 69 6c 65 20 74 68 65 |atedly w|hile the|
|00001d90| 20 6d 6f 64 65 6d 20 69 | 73 20 62 65 69 6e 67 20 | modem i|s being |
|00001da0| 69 6e 69 74 69 61 6c 69 | 7a 65 64 20 28 73 69 6e |initiali|zed (sin|
|00001db0| 63 65 20 61 6e 20 22 41 | 54 5a 22 20 63 6f 6d 6d |ce an "A|TZ" comm|
|00001dc0| 61 6e 64 20 69 73 20 73 | 65 6e 74 20 6f 75 74 29 |and is s|ent out)|
|00001dd0| 2e 20 20 0d 0d 49 66 20 | 6f 70 65 6e 69 6e 67 20 |. ..If |opening |
|00001de0| 74 68 65 20 6d 6f 64 65 | 6d 20 77 61 73 20 73 75 |the mode|m was su|
|00001df0| 63 63 65 73 73 66 75 6c | 2c 20 61 20 6d 6f 64 65 |ccessful|, a mode|
|00001e00| 6d 5f 68 61 6e 64 6c 65 | 20 77 69 6c 6c 20 62 65 |m_handle| will be|
|00001e10| 20 72 65 74 75 72 6e 65 | 64 20 69 6e 20 6d 6f 64 | returne|d in mod|
|00001e20| 65 6d 5f 72 65 66 20 61 | 6e 64 20 7a 65 72 6f 20 |em_ref a|nd zero |
|00001e30| 28 6e 6f 45 72 72 29 20 | 72 65 74 75 72 6e 65 64 |(noErr) |returned|
|00001e40| 20 61 73 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | as the |function|
|00001e50| 20 72 65 73 75 6c 74 2c | 20 6f 74 68 65 72 77 69 | result,| otherwi|
|00001e60| 73 65 20 6f 6e 65 20 6f | 66 20 74 68 65 20 66 6f |se one o|f the fo|
|00001e70| 6c 6c 6f 77 69 6e 67 20 | 65 72 72 6f 72 73 20 77 |llowing |errors w|
|00001e80| 69 6c 6c 20 62 65 20 72 | 65 74 75 72 6e 65 64 3a |ill be r|eturned:|
|00001e90| 0d 0d 0d 0d 0d 31 30 30 | 30 09 69 64 6c 65 5f 70 |.....100|0.idle_p|
|00001ea0| 72 6f 63 5f 61 62 6f 72 | 74 5f 65 72 72 6f 72 09 |roc_abor|t_error.|
|00001eb0| 74 68 65 20 69 64 6c 65 | 20 70 72 6f 63 20 61 62 |the idle| proc ab|
|00001ec0| 6f 72 74 65 64 0d 31 30 | 30 32 09 65 72 72 6f 72 |orted.10|02.error|
|00001ed0| 5f 65 72 72 6f 72 09 6d | 6f 64 65 6d 20 72 65 70 |_error.m|odem rep|
|00001ee0| 6f 72 74 69 6e 67 20 61 | 20 67 65 6e 65 72 61 6c |orting a| general|
|00001ef0| 20 65 72 72 6f 72 0d 0d | 28 6e 65 67 61 74 69 76 | error..|(negativ|
|00001f00| 65 29 09 4f 53 20 6f 72 | 20 6d 65 6d 6f 72 79 20 |e).OS or| memory |
|00001f10| 65 72 72 6f 72 0d 0d 0d | 70 61 73 63 61 6c 20 4f |error...|pascal O|
|00001f20| 53 45 72 72 20 4d 6f 64 | 65 6d 44 69 61 6c 28 6d |SErr Mod|emDial(m|
|00001f30| 6f 64 65 6d 5f 68 61 6e | 64 6c 65 20 6d 6f 64 65 |odem_han|dle mode|
|00001f40| 6d 5f 72 65 66 2c 20 63 | 6f 6e 73 74 20 53 74 72 |m_ref, c|onst Str|
|00001f50| 32 35 35 20 70 68 6f 6e | 65 5f 6e 75 6d 62 65 72 |255 phon|e_number|
|00001f60| 29 3b 0d 46 55 4e 43 54 | 49 4f 4e 20 4d 6f 64 65 |);.FUNCT|ION Mode|
|00001f70| 6d 44 69 61 6c 20 28 6d | 6f 64 65 6d 5f 72 65 66 |mDial (m|odem_ref|
|00001f80| 3a 20 6d 6f 64 65 6d 5f | 68 61 6e 64 6c 65 3b 20 |: modem_|handle; |
|00001f90| 70 68 6f 6e 65 5f 6e 75 | 6d 62 65 72 3a 20 53 74 |phone_nu|mber: St|
|00001fa0| 72 32 35 35 29 3a 20 4f | 53 45 72 72 3b 0d 0d 44 |r255): O|SErr;..D|
|00001fb0| 69 61 6c 73 20 74 68 65 | 20 6d 6f 64 65 6d 20 61 |ials the| modem a|
|00001fc0| 6e 64 20 77 61 69 74 73 | 20 66 6f 72 20 61 20 63 |nd waits| for a c|
|00001fd0| 6f 6e 6e 65 63 74 69 6f | 6e 2e 0d 0d 49 66 20 79 |onnectio|n...If y|
|00001fe0| 6f 75 20 77 61 6e 74 20 | 74 68 65 20 6d 6f 64 65 |ou want |the mode|
|00001ff0| 6d 20 74 6f 20 65 73 74 | 61 62 6c 69 73 68 20 61 |m to est|ablish a|
|00002000| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 62 79 20 63 | connect|ion by c|
|00002010| 61 6c 6c 69 6e 67 20 6f | 75 74 2c 20 75 73 65 20 |alling o|ut, use |
|00002020| 4d 6f 64 65 6d 44 69 61 | 6c 20 70 61 73 73 69 6e |ModemDia|l passin|
|00002030| 67 20 74 68 65 20 6d 6f | 64 65 6d 5f 68 61 6e 64 |g the mo|dem_hand|
|00002040| 6c 65 20 69 6e 20 6d 6f | 64 65 6d 5f 72 65 66 20 |le in mo|dem_ref |
|00002050| 61 6e 64 20 74 68 65 20 | 70 68 6f 6e 65 20 6e 75 |and the |phone nu|
|00002060| 6d 62 65 72 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |mber you| want to|
|00002070| 20 63 61 6c 6c 20 69 6e | 20 70 68 6f 6e 65 5f 6e | call in| phone_n|
|00002080| 75 6d 62 65 72 2e 0d 0d | 54 68 65 20 70 68 6f 6e |umber...|The phon|
|00002090| 65 5f 6e 75 6d 62 65 72 | 20 70 61 72 61 6d 65 74 |e_number| paramet|
|000020a0| 65 72 20 d1 20 77 68 69 | 63 68 20 69 73 20 61 20 |er . whi|ch is a |
|000020b0| 50 61 73 63 61 6c 20 73 | 74 72 69 6e 67 20 d1 20 |Pascal s|tring . |
|000020c0| 63 61 6e 20 63 6f 6e 74 | 61 69 6e 20 61 6e 79 20 |can cont|ain any |
|000020d0| 76 61 6c 69 64 20 63 68 | 61 72 61 63 74 65 72 73 |valid ch|aracters|
|000020e0| 20 74 68 61 74 20 61 20 | 6d 6f 64 65 6d 20 77 69 | that a |modem wi|
|000020f0| 6c 6c 20 61 63 63 65 70 | 74 20 66 6f 72 20 64 69 |ll accep|t for di|
|00002100| 61 6c 69 6e 67 20 6f 75 | 74 20 28 73 75 63 68 20 |aling ou|t (such |
|00002110| 61 73 20 64 69 67 69 74 | 73 2c 20 6f 70 74 69 6f |as digit|s, optio|
|00002120| 6e 61 6c 20 63 6f 6d 6d | 61 73 20 66 6f 72 20 70 |nal comm|as for p|
|00002130| 61 75 73 69 6e 67 2c 20 | 65 74 63 2e 29 2e 20 20 |ausing, |etc.). |
|00002140| 49 66 20 70 68 6f 6e 65 | 5f 6e 75 6d 62 65 72 20 |If phone|_number |
|00002150| 63 6f 6e 74 61 69 6e 73 | 20 22 69 6c 6c 65 67 61 |contains| "illega|
|00002160| 6c 22 20 63 68 61 72 61 | 63 74 65 72 73 2c 20 74 |l" chara|cters, t|
|00002170| 68 65 79 20 77 69 6c 6c | 20 62 65 20 69 67 6e 6f |hey will| be igno|
|00002180| 72 65 64 2e 20 20 48 6f | 77 65 76 65 72 2c 20 79 |red. Ho|wever, y|
|00002190| 6f 75 20 64 6f 20 6e 6f | 74 20 69 6e 63 6c 75 64 |ou do no|t includ|
|000021a0| 65 20 61 6e 79 20 6d 6f | 64 65 6d 20 63 6f 6d 6d |e any mo|dem comm|
|000021b0| 61 6e 64 73 20 73 75 63 | 68 20 61 73 20 22 41 54 |ands suc|h as "AT|
|000021c0| 44 54 22 20 d1 20 61 6c | 6c 20 74 68 61 74 20 69 |DT" . al|l that i|
|000021d0| 73 20 64 6f 6e 65 20 66 | 6f 72 20 79 6f 75 2e 0d |s done f|or you..|
|000021e0| 00 01 00 0d 00 00 00 84 | 00 0d 00 00 00 85 00 0d |........|........|
|000021f0| 00 00 01 41 00 0d 00 00 | 01 42 00 0d 00 00 01 43 |...A....|.B.....C|
|00002200| 00 0d 00 00 01 44 00 0d | 00 00 01 45 00 0d 00 00 |.....D..|...E....|
|00002210| 01 4a 00 09 00 12 01 60 | 00 09 00 1b 01 76 00 0d |.J.....`|.....v..|
|00002220| 00 00 01 7b 00 09 00 12 | 01 87 00 09 00 57 01 a7 |...{....|.....W..|
|00002230| 00 0d 00 00 01 a8 00 0d | 00 00 01 b3 00 09 00 0c |........|........|
|00002240| 01 c6 00 0d 00 00 01 c7 | 00 0d 00 00 01 c8 00 0d |........|........|
|00002250| 00 00 02 13 00 0d 00 00 | 02 5e 00 0d 00 00 02 5f |........|.^....._|
|00002260| 00 0d 00 00 02 8b 00 0d | 00 00 02 8c 00 0d 00 00 |........|........|
|00002270| 03 37 00 0d 00 00 03 38 | 00 0d 00 00 04 90 00 0d |.7.....8|........|
|00002280| 00 00 0d 4d 6f 64 65 6d | 44 69 61 6c 20 77 69 6c |...Modem|Dial wil|
|00002290| 6c 20 63 6f 6d 6d 61 6e | 64 20 74 68 65 20 6d 6f |l comman|d the mo|
|000022a0| 64 65 6d 20 74 6f 20 64 | 69 61 6c 20 6f 75 74 2c |dem to d|ial out,|
|000022b0| 20 69 74 20 77 69 6c 6c | 20 77 61 69 74 20 66 6f | it will| wait fo|
|000022c0| 72 20 61 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 28 |r a conn|ection (|
|000022d0| 77 68 69 63 68 20 6d 65 | 61 6e 73 20 74 68 65 20 |which me|ans the |
|000022e0| 72 65 6d 6f 74 65 20 6d | 6f 64 65 6d 20 6f 72 20 |remote m|odem or |
|000022f0| 6e 65 74 77 6f 72 6b 20 | 77 69 6c 6c 20 22 61 6e |network |will "an|
|00002300| 73 77 65 72 22 29 2e 20 | 20 4f 6e 63 65 20 61 20 |swer"). | Once a |
|00002310| 63 61 72 72 69 65 72 20 | 68 61 73 20 62 65 65 6e |carrier |has been|
|00002320| 20 65 73 74 61 62 6c 69 | 73 68 65 64 2c 20 74 68 | establi|shed, th|
|00002330| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 77 69 6c 6c |is funct|ion will|
|00002340| 20 72 65 74 75 72 6e 20 | 77 69 74 68 20 6e 6f 45 | return |with noE|
|00002350| 72 72 20 28 30 29 2e 0d | 0d 54 68 65 20 69 64 6c |rr (0)..|.The idl|
|00002360| 65 20 70 72 6f 63 2c 20 | 69 66 20 69 74 20 65 78 |e proc, |if it ex|
|00002370| 69 73 74 73 2c 20 77 69 | 6c 6c 20 62 65 20 63 61 |ists, wi|ll be ca|
|00002380| 6c 6c 65 64 20 72 65 70 | 65 61 74 65 64 6c 79 20 |lled rep|eatedly |
|00002390| 77 68 69 6c 65 20 4d 6f | 64 65 6d 44 69 61 6c 20 |while Mo|demDial |
|000023a0| 77 61 69 74 73 20 66 6f | 72 20 61 20 63 6f 6e 6e |waits fo|r a conn|
|000023b0| 65 63 74 69 6f 6e 2e 20 | 0d 0d 49 66 20 66 6f 72 |ection. |..If for|
|000023c0| 20 73 6f 6d 65 20 72 65 | 61 73 6f 6e 20 74 68 65 | some re|ason the|
|000023d0| 20 6d 6f 64 65 6d 20 66 | 61 69 6c 65 64 20 74 6f | modem f|ailed to|
|000023e0| 20 6d 61 6b 65 20 61 20 | 63 6f 6e 6e 65 63 74 69 | make a |connecti|
|000023f0| 6f 6e 20 d1 20 65 69 74 | 68 65 72 20 66 72 6f 6d |on . eit|her from|
|00002400| 20 61 6e 20 65 72 72 6f | 72 20 72 65 73 70 6f 6e | an erro|r respon|
|00002410| 73 65 20 66 72 6f 6d 20 | 74 68 65 20 6d 6f 64 65 |se from |the mode|
|00002420| 6d 20 6f 72 20 61 6e 20 | 69 64 6c 65 20 70 72 6f |m or an |idle pro|
|00002430| 63 20 22 61 62 6f 72 74 | 22 20 d1 20 4d 6f 64 65 |c "abort|" . Mode|
|00002440| 6d 44 69 61 6c 20 77 69 | 6c 6c 20 72 65 74 75 72 |mDial wi|ll retur|
|00002450| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |n one of| the fol|
|00002460| 6c 6f 77 69 6e 67 20 65 | 72 72 6f 72 73 3a 0d 0d |lowing e|rrors:..|
|00002470| 31 30 30 30 09 69 64 6c | 65 5f 70 72 6f 63 5f 61 |1000.idl|e_proc_a|
|00002480| 62 6f 72 74 5f 65 72 72 | 6f 72 09 74 68 65 20 69 |bort_err|or.the i|
|00002490| 64 6c 65 20 70 72 6f 63 | 20 61 62 6f 72 74 65 64 |dle proc| aborted|
|000024a0| 0d 31 30 30 31 09 6e 6f | 5f 63 61 72 72 69 65 72 |.1001.no|_carrier|
|000024b0| 5f 65 72 72 6f 72 09 63 | 61 72 72 69 65 72 20 65 |_error.c|arrier e|
|000024c0| 73 74 61 62 6c 69 73 68 | 65 64 20 74 68 65 6e 20 |stablish|ed then |
|000024d0| 64 69 65 64 0d 31 30 30 | 32 09 65 72 72 6f 72 5f |died.100|2.error_|
|000024e0| 65 72 72 6f 72 09 6d 6f | 64 65 6d 20 72 65 70 6f |error.mo|dem repo|
|000024f0| 72 74 69 6e 67 20 61 20 | 67 65 6e 65 72 61 6c 20 |rting a |general |
|00002500| 65 72 72 6f 72 0d 31 30 | 30 33 09 6e 6f 5f 64 69 |error.10|03.no_di|
|00002510| 61 6c 74 6f 6e 65 5f 65 | 72 72 6f 72 09 6e 6f 20 |altone_e|rror.no |
|00002520| 64 69 61 6c 20 74 6f 6e | 65 20 70 69 63 6b 65 64 |dial ton|e picked|
|00002530| 20 75 70 0d 31 30 30 34 | 09 62 75 73 79 5f 65 72 | up.1004|.busy_er|
|00002540| 72 6f 72 09 70 68 6f 6e | 65 20 6e 75 6d 62 65 72 |ror.phon|e number|
|00002550| 20 62 75 73 79 0d 31 30 | 30 35 09 6e 6f 5f 61 6e | busy.10|05.no_an|
|00002560| 73 77 65 72 5f 65 72 72 | 6f 72 09 70 68 6f 6e 65 |swer_err|or.phone|
|00002570| 20 64 6f 65 73 20 6e 6f | 74 20 61 6e 73 77 65 72 | does no|t answer|
|00002580| 0d 31 30 30 36 09 75 6e | 6b 6e 6f 77 6e 5f 65 72 |.1006.un|known_er|
|00002590| 72 6f 72 09 63 6f 6d 6d | 75 6e 69 63 61 74 69 6f |ror.comm|unicatio|
|000025a0| 6e 20 66 61 69 6c 65 64 | 20 61 6e 64 20 49 20 64 |n failed| and I d|
|000025b0| 6f 6e 27 74 20 6b 6e 6f | 77 20 77 68 79 0d 00 01 |on't kno|w why...|
|000025c0| 00 0d 00 00 00 d6 00 0d | 00 00 00 d7 00 0d 00 00 |........|........|
|000025d0| 01 37 00 0d 00 00 01 38 | 00 0d 00 00 01 ed 00 0d |.7.....8|........|
|000025e0| 00 00 01 ee 00 0d 00 00 | 01 f3 00 09 00 09 02 09 |........|........|
|000025f0| 00 09 00 3f 02 1f 00 0d | 00 00 02 24 00 09 00 09 |...?....|...$....|
|00002600| 02 35 00 09 00 5d 02 53 | 00 0d 00 00 02 58 00 09 |.5...].S|.....X..|
|00002610| 00 09 02 64 00 09 00 7b | 02 84 00 0d 00 00 02 89 |...d...{|........|
|00002620| 00 09 00 09 02 9b 00 09 | 00 57 02 b2 00 0d 00 00 |........|.W......|
|00002630| 02 b7 00 09 00 09 02 c2 | 00 09 00 81 02 d4 00 0d |........|........|
|00002640| 00 00 02 d9 00 09 00 09 | 02 e9 00 09 00 63 02 ff |........|.....c..|
|00002650| 00 0d 00 00 03 04 00 09 | 00 09 03 12 00 09 00 6f |........|.......o|
|00002660| 03 3c 00 0d 00 00 31 30 | 30 37 09 61 6c 72 65 61 |.<....10|07.alrea|
|00002670| 64 79 5f 63 6f 6e 6e 65 | 63 74 65 64 5f 65 72 72 |dy_conne|cted_err|
|00002680| 6f 72 09 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 61 6c |or.conne|ction al|
|00002690| 72 65 61 64 79 20 65 73 | 74 61 62 6c 69 73 68 65 |ready es|tablishe|
|000026a0| 64 0d 0d 28 6e 65 67 61 | 74 69 76 65 29 09 4f 53 |d..(nega|tive).OS|
|000026b0| 20 45 72 72 6f 72 0d 0d | 0d 70 61 73 63 61 6c 20 | Error..|.pascal |
|000026c0| 4f 53 45 72 72 20 4d 6f | 64 65 6d 57 61 69 74 46 |OSErr Mo|demWaitF|
|000026d0| 6f 72 43 61 6c 6c 28 6d | 6f 64 65 6d 5f 68 61 6e |orCall(m|odem_han|
|000026e0| 64 6c 65 20 6d 6f 64 65 | 6d 5f 72 65 66 2c 20 73 |dle mode|m_ref, s|
|000026f0| 68 6f 72 74 20 72 69 6e | 67 5f 71 74 79 29 3b 0d |hort rin|g_qty);.|
|00002700| 46 55 4e 43 54 49 4f 4e | 20 4d 6f 64 65 6d 57 61 |FUNCTION| ModemWa|
|00002710| 69 74 46 6f 72 43 61 6c | 6c 20 28 6d 6f 64 65 6d |itForCal|l (modem|
|00002720| 5f 72 65 66 3a 20 6d 6f | 64 65 6d 5f 68 61 6e 64 |_ref: mo|dem_hand|
|00002730| 6c 65 3b 0d 09 09 09 09 | 09 72 69 6e 67 5f 71 74 |le;.....|.ring_qt|
|00002740| 79 3a 20 49 4e 54 45 47 | 45 52 29 3a 20 4f 53 45 |y: INTEG|ER): OSE|
|00002750| 72 72 3b 0d 0d 50 6c 61 | 63 65 73 20 74 68 65 20 |rr;..Pla|ces the |
|00002760| 6d 6f 64 65 6d 20 69 6e | 20 22 77 61 69 74 22 20 |modem in| "wait" |
|00002770| 6d 6f 64 65 20 75 6e 74 | 69 6c 20 69 74 20 72 65 |mode unt|il it re|
|00002780| 63 65 69 76 65 73 20 61 | 20 70 68 6f 6e 65 20 63 |ceives a| phone c|
|00002790| 61 6c 6c 2e 0d 0d 54 68 | 69 73 20 66 75 6e 63 74 |all...Th|is funct|
|000027a0| 69 6f 6e 20 69 73 20 74 | 68 65 20 63 6f 75 6e 74 |ion is t|he count|
|000027b0| 65 72 70 61 72 74 20 74 | 6f 20 4d 6f 64 65 6d 44 |erpart t|o ModemD|
|000027c0| 69 61 6c 2c 20 77 68 69 | 63 68 20 69 73 20 74 6f |ial, whi|ch is to|
|000027d0| 20 73 61 79 20 4d 6f 64 | 65 6d 57 61 69 74 46 6f | say Mod|emWaitFo|
|000027e0| 72 43 61 6c 6c 20 77 69 | 6c 6c 20 61 6c 73 6f 20 |rCall wi|ll also |
|000027f0| 65 73 74 61 62 6c 69 73 | 68 20 61 20 63 6f 6e 6e |establis|h a conn|
|00002800| 65 63 74 69 6f 6e 20 62 | 75 74 20 6f 6e 6c 79 20 |ection b|ut only |
|00002810| 61 66 74 65 72 20 64 65 | 74 65 63 74 69 6e 67 20 |after de|tecting |
|00002820| 61 20 22 72 69 6e 67 22 | 20 28 69 6e 20 69 6e 63 |a "ring"| (in inc|
|00002830| 6f 6d 69 6e 67 20 70 68 | 6f 6e 65 20 63 61 6c 6c |oming ph|one call|
|00002840| 29 2e 0d 0d 54 6f 20 70 | 6c 61 63 65 20 74 68 65 |)...To p|lace the|
|00002850| 20 6d 6f 64 65 6d 20 69 | 6e 20 74 68 69 73 20 6d | modem i|n this m|
|00002860| 6f 64 65 2c 20 70 61 73 | 73 20 61 20 6d 6f 64 65 |ode, pas|s a mode|
|00002870| 6d 5f 68 61 6e 64 6c 65 | 20 69 6e 20 6d 6f 64 65 |m_handle| in mode|
|00002880| 6d 5f 72 65 66 2e 20 20 | 59 6f 75 20 6d 75 73 74 |m_ref. |You must|
|00002890| 20 68 61 76 65 20 70 72 | 65 76 69 6f 75 73 6c 79 | have pr|eviously|
|000028a0| 20 6f 70 65 6e 65 64 20 | 61 20 6d 6f 64 65 6d 20 | opened |a modem |
|000028b0| 63 68 61 6e 6e 65 6c 20 | 75 73 69 6e 67 20 4f 70 |channel |using Op|
|000028c0| 65 6e 4d 6f 64 65 6d 20 | 61 6e 64 20 6d 6f 64 65 |enModem |and mode|
|000028d0| 6d 5f 72 65 66 20 6d 75 | 73 74 20 62 65 20 74 68 |m_ref mu|st be th|
|000028e0| 65 20 6d 6f 64 65 6d 5f | 68 61 6e 64 6c 65 20 72 |e modem_|handle r|
|000028f0| 65 74 75 72 6e 65 64 20 | 66 72 6f 6d 20 74 68 61 |eturned |from tha|
|00002900| 74 20 63 61 6c 6c 2e 0d | 0d 54 68 65 20 72 69 6e |t call..|.The rin|
|00002910| 67 5f 71 74 79 20 73 68 | 6f 75 6c 64 20 69 6e 64 |g_qty sh|ould ind|
|00002920| 69 63 61 74 65 20 74 68 | 65 20 6e 75 6d 62 65 72 |icate th|e number|
|00002930| 20 6f 66 20 22 72 69 6e | 67 73 22 20 74 68 61 74 | of "rin|gs" that|
|00002940| 20 6d 75 73 74 20 6f 63 | 63 75 72 20 62 65 66 6f | must oc|cur befo|
|00002950| 72 65 20 74 68 65 20 6d | 6f 64 65 6d 20 70 69 63 |re the m|odem pic|
|00002960| 6b 73 20 75 70 20 74 68 | 65 20 6c 69 6e 65 20 74 |ks up th|e line t|
|00002970| 6f 20 72 65 73 70 6f 6e | 64 2e 0d 0d 4d 6f 64 65 |o respon|d...Mode|
|00002980| 6d 57 61 69 74 46 6f 72 | 43 61 6c 6c 20 77 69 6c |mWaitFor|Call wil|
|00002990| 6c 20 70 6c 61 63 65 20 | 74 68 65 20 6d 6f 64 65 |l place |the mode|
|000029a0| 6d 20 69 6e 20 22 77 61 | 69 74 22 20 6d 6f 64 65 |m in "wa|it" mode|
|000029b0| 20 69 6e 64 65 66 69 6e | 69 74 65 6c 79 20 75 6e | indefin|itely un|
|000029c0| 74 69 6c 20 61 20 63 61 | 6c 6c 20 69 73 20 72 65 |til a ca|ll is re|
|000029d0| 63 65 69 76 65 64 2c 20 | 61 74 20 77 68 69 63 68 |ceived, |at which|
|000029e0| 20 74 69 6d 65 20 d1 20 | 61 66 74 65 72 20 72 69 | time . |after ri|
|000029f0| 6e 67 5f 71 74 79 20 72 | 69 6e 67 73 2c 20 74 68 |ng_qty r|ings, th|
|00002a00| 65 20 6c 69 6e 65 20 77 | 69 6c 6c 20 62 65 20 70 |e line w|ill be p|
|00002a10| 69 63 6b 65 64 20 75 70 | 20 61 6e 64 20 63 61 72 |icked up| and car|
|00002a20| 72 69 65 72 20 77 69 6c | 6c 20 62 65 20 65 73 74 |rier wil|l be est|
|00002a30| 61 62 6c 69 73 68 65 64 | 2e 20 49 66 20 74 68 69 |ablished|. If thi|
|00002a40| 73 20 69 73 20 61 6c 6c | 20 73 75 63 63 65 73 73 |s is all| success|
|00002a50| 66 75 6c 2c 20 74 68 65 | 20 66 75 6e 63 74 69 6f |ful, the| functio|
|00002a60| 6e 20 77 69 6c 6c 20 66 | 69 6e 61 6c 6c 79 20 72 |n will f|inally r|
|00002a70| 65 74 75 72 6e 20 77 69 | 74 68 20 6e 6f 45 72 72 |eturn wi|th noErr|
|00002a80| 20 28 30 29 2e 0d 00 05 | 00 09 00 09 00 1d 00 09 | (0)....|........|
|00002a90| 00 33 00 3c 00 0d 00 00 | 00 3d 00 0d 00 00 00 48 |.3.<....|.=.....H|
|00002aa0| 00 09 00 a2 00 51 00 0d | 00 00 00 52 00 0d 00 00 |.....Q..|...R....|
|00002ab0| 00 53 00 0d 00 00 00 9a | 00 0d 00 00 00 ce 00 0d |.S......|........|
|00002ac0| 00 00 00 cf 00 09 00 18 | 00 d0 00 09 00 18 00 d1 |........|........|
|00002ad0| 00 09 00 18 00 d2 00 09 | 00 18 00 d3 00 09 00 18 |........|........|
|00002ae0| 00 ee 00 0d 00 00 00 ef | 00 0d 00 00 01 2f 00 0d |........|...../..|
|00002af0| 00 00 01 30 00 0d 00 00 | 01 dd 00 0d 00 00 01 de |...0....|........|
|00002b00| 00 0d 00 00 02 a2 00 0d | 00 00 02 a3 00 0d 00 00 |........|........|
|00002b10| 03 15 00 0d 00 00 03 16 | 00 0d 00 00 04 20 00 0d |........|..... ..|
|00002b20| 00 00 0d 54 68 65 20 69 | 64 6c 65 20 70 72 6f 63 |...The i|dle proc|
|00002b30| 2c 20 69 66 20 69 74 20 | 65 78 69 73 74 73 2c 20 |, if it |exists, |
|00002b40| 77 69 6c 6c 20 62 65 20 | 63 61 6c 6c 65 64 20 72 |will be |called r|
|00002b50| 65 70 65 61 74 65 64 6c | 79 20 77 68 69 6c 65 20 |epeatedl|y while |
|00002b60| 74 68 65 20 6d 6f 64 65 | 6d 20 77 61 69 74 73 20 |the mode|m waits |
|00002b70| 66 6f 72 20 61 20 63 61 | 6c 6c 20 61 6e 64 20 63 |for a ca|ll and c|
|00002b80| 6f 6e 6e 65 63 74 69 6f | 6e 2e 20 0d 0d 4f 6e 63 |onnectio|n. ..Onc|
|00002b90| 65 20 61 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 69 |e a conn|ection i|
|00002ba0| 73 20 6d 61 64 65 20 28 | 4d 6f 64 65 6d 57 61 69 |s made (|ModemWai|
|00002bb0| 74 46 6f 72 43 61 6c 6c | 20 72 65 74 75 72 6e 69 |tForCall| returni|
|00002bc0| 6e 67 20 6e 6f 45 72 72 | 29 2c 20 79 6f 75 20 61 |ng noErr|), you a|
|00002bd0| 72 65 20 6e 6f 77 20 6f | 6e 6c 69 6e 65 20 77 69 |re now o|nline wi|
|00002be0| 74 68 20 61 20 72 65 6d | 6f 74 65 20 6d 6f 64 65 |th a rem|ote mode|
|00002bf0| 6d 20 61 6e 64 20 79 6f | 75 20 63 61 6e 20 73 65 |m and yo|u can se|
|00002c00| 6e 64 20 61 6e 64 20 72 | 65 63 65 69 76 65 20 64 |nd and r|eceive d|
|00002c10| 61 74 61 2e 0d 0d 49 66 | 20 66 6f 72 20 73 6f 6d |ata...If| for som|
|00002c20| 65 20 72 65 61 73 6f 6e | 20 74 68 65 20 6d 6f 64 |e reason| the mod|
|00002c30| 65 6d 20 66 61 69 6c 65 | 64 20 74 6f 20 6d 61 6b |em faile|d to mak|
|00002c40| 65 20 61 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 d1 |e a conn|ection .|
|00002c50| 20 65 69 74 68 65 72 20 | 66 72 6f 6d 20 61 6e 20 | either |from an |
|00002c60| 65 72 72 6f 72 20 72 65 | 73 70 6f 6e 73 65 20 66 |error re|sponse f|
|00002c70| 72 6f 6d 20 74 68 65 20 | 6d 6f 64 65 6d 20 6f 72 |rom the |modem or|
|00002c80| 20 61 6e 20 69 64 6c 65 | 20 70 72 6f 63 20 22 61 | an idle| proc "a|
|00002c90| 62 6f 72 74 22 20 d1 20 | 4d 6f 64 65 6d 57 61 69 |bort" . |ModemWai|
|00002ca0| 74 46 6f 72 43 61 6c 6c | 20 77 69 6c 6c 20 72 65 |tForCall| will re|
|00002cb0| 74 75 72 6e 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |turn one| of the |
|00002cc0| 66 6f 6c 6c 6f 77 69 6e | 67 20 65 72 72 6f 72 73 |followin|g errors|
|00002cd0| 3a 0d 0d 31 30 30 30 09 | 69 64 6c 65 5f 70 72 6f |:..1000.|idle_pro|
|00002ce0| 63 5f 61 62 6f 72 74 5f | 65 72 72 6f 72 09 74 68 |c_abort_|error.th|
|00002cf0| 65 20 69 64 6c 65 20 70 | 72 6f 63 20 61 62 6f 72 |e idle p|roc abor|
|00002d00| 74 65 64 0d 31 30 30 31 | 09 6e 6f 5f 63 61 72 72 |ted.1001|.no_carr|
|00002d10| 69 65 72 5f 65 72 72 6f | 72 09 63 61 72 72 69 65 |ier_erro|r.carrie|
|00002d20| 72 20 65 73 74 61 62 6c | 69 73 68 65 64 20 74 68 |r establ|ished th|
|00002d30| 65 6e 20 64 69 65 64 0d | 31 30 30 32 09 65 72 72 |en died.|1002.err|
|00002d40| 6f 72 5f 65 72 72 6f 72 | 09 6d 6f 64 65 6d 20 72 |or_error|.modem r|
|00002d50| 65 70 6f 72 74 69 6e 67 | 20 61 20 67 65 6e 65 72 |eporting| a gener|
|00002d60| 61 6c 20 65 72 72 6f 72 | 0d 31 30 30 36 09 75 6e |al error|.1006.un|
|00002d70| 6b 6e 6f 77 6e 5f 65 72 | 72 6f 72 09 63 6f 6d 6d |known_er|ror.comm|
|00002d80| 75 6e 69 63 61 74 69 6f | 6e 20 66 61 69 6c 65 64 |unicatio|n failed|
|00002d90| 20 61 6e 64 20 49 20 64 | 6f 6e 27 74 20 6b 6e 6f | and I d|on't kno|
|00002da0| 77 20 77 68 79 0d 00 01 | 00 0d 00 00 00 6a 00 0d |w why...|.....j..|
|00002db0| 00 00 00 6b 00 0d 00 00 | 00 f3 00 0d 00 00 00 f4 |...k....|........|
|00002dc0| 00 0d 00 00 01 b0 00 0d | 00 00 01 b1 00 0d 00 00 |........|........|
|00002dd0| 01 b6 00 09 00 09 01 cc | 00 09 00 3f 01 e2 00 0d |........|...?....|
|00002de0| 00 00 01 e7 00 09 00 09 | 01 f8 00 09 00 5d 02 16 |........|.....]..|
|00002df0| 00 0d 00 00 02 1b 00 09 | 00 09 02 27 00 09 00 7b |........|...'...{|
|00002e00| 02 47 00 0d 00 00 02 4c | 00 09 00 09 02 5a 00 09 |.G.....L|.....Z..|
|00002e10| 00 6f 02 84 00 0d 00 00 | 31 30 30 37 09 61 6c 72 |.o......|1007.alr|
|00002e20| 65 61 64 79 5f 63 6f 6e | 6e 65 63 74 65 64 5f 65 |eady_con|nected_e|
|00002e30| 72 72 6f 72 09 63 6f 6e | 6e 65 63 74 69 6f 6e 20 |rror.con|nection |
|00002e40| 61 6c 72 65 61 64 79 20 | 65 73 74 61 62 6c 69 73 |already |establis|
|00002e50| 68 65 64 0d 0d 28 6e 65 | 67 61 74 69 76 65 29 09 |hed..(ne|gative).|
|00002e60| 4f 53 20 45 72 72 6f 72 | 0d 0d 0d 0d 44 61 74 61 |OS Error|....Data|
|00002e70| 0d 0d 0d 70 61 73 63 61 | 6c 20 4f 53 45 72 72 20 |...pasca|l OSErr |
|00002e80| 4d 6f 64 65 6d 53 65 6e | 64 44 61 74 61 28 63 6f |ModemSen|dData(co|
|00002e90| 6e 73 74 20 6d 6f 64 65 | 6d 5f 68 61 6e 64 6c 65 |nst mode|m_handle|
|00002ea0| 20 6d 6f 64 65 6d 5f 72 | 65 66 2c 0d 09 63 6f 6e | modem_r|ef,..con|
|00002eb0| 73 74 20 76 6f 69 64 20 | 2a 70 74 72 2c 20 73 69 |st void |*ptr, si|
|00002ec0| 7a 65 5f 74 20 6c 65 6e | 67 74 68 29 3b 0d 70 61 |ze_t len|gth);.pa|
|00002ed0| 73 63 61 6c 20 4f 53 45 | 72 72 20 4d 6f 64 65 6d |scal OSE|rr Modem|
|00002ee0| 47 65 74 44 61 74 61 28 | 63 6f 6e 73 74 20 6d 6f |GetData(|const mo|
|00002ef0| 64 65 6d 5f 68 61 6e 64 | 6c 65 20 6d 6f 64 65 6d |dem_hand|le modem|
|00002f00| 5f 72 65 66 2c 0d 00 05 | 00 09 00 09 00 1d 00 09 |_ref,...|........|
|00002f10| 00 33 00 3c 00 0d 00 00 | 00 3d 00 0d 00 00 00 48 |.3.<....|.=.....H|
|00002f20| 00 09 00 a2 00 51 00 0d | 00 00 00 52 00 0d 00 00 |.....Q..|...R....|
|00002f30| 00 53 00 0d 00 00 00 54 | 00 0d 00 00 00 59 00 0d |.S.....T|.....Y..|
|00002f40| 00 00 00 5a 00 0d 00 00 | 00 5b 00 0d 00 00 00 94 |...Z....|.[......|
|00002f50| 00 0d 00 00 00 95 00 09 | 00 84 00 b6 00 0d 00 00 |........|........|
|00002f60| 00 ee 00 0d 00 00 09 63 | 6f 6e 73 74 20 76 6f 69 |.......c|onst voi|
|00002f70| 64 20 2a 70 74 72 2c 20 | 73 69 7a 65 5f 74 20 2a |d *ptr, |size_t *|
|00002f80| 6c 65 6e 67 74 68 29 3b | 0d 46 55 4e 43 54 49 4f |length);|.FUNCTIO|
|00002f90| 4e 20 4d 6f 64 65 6d 53 | 65 6e 64 44 61 74 61 20 |N ModemS|endData |
|00002fa0| 28 6d 6f 64 65 6d 5f 72 | 65 66 3a 20 6d 6f 64 65 |(modem_r|ef: mode|
|00002fb0| 6d 5f 68 61 6e 64 6c 65 | 3b 20 62 75 66 66 65 72 |m_handle|; buffer|
|00002fc0| 3a 20 50 74 72 3b 0d 09 | 6c 65 6e 67 74 68 3a 20 |: Ptr;..|length: |
|00002fd0| 4c 4f 4e 47 49 4e 54 29 | 3a 20 4f 53 45 72 72 3b |LONGINT)|: OSErr;|
|00002fe0| 0d 46 55 4e 43 54 49 4f | 4e 20 4d 6f 64 65 6d 47 |.FUNCTIO|N ModemG|
|00002ff0| 65 74 44 61 74 61 20 28 | 6d 6f 64 65 6d 5f 72 65 |etData (|modem_re|
|00003000| 66 3a 20 6d 6f 64 65 6d | 5f 68 61 6e 64 6c 65 3b |f: modem|_handle;|
|00003010| 20 62 75 66 66 65 72 3a | 20 50 74 72 3b 0d 09 56 | buffer:| Ptr;..V|
|00003020| 41 52 20 6c 65 6e 67 74 | 68 3a 20 4c 4f 4e 47 49 |AR lengt|h: LONGI|
|00003030| 4e 54 29 3a 20 4f 53 45 | 72 72 3b 0d 0d 53 65 6e |NT): OSE|rr;..Sen|
|00003040| 64 73 20 6f 72 20 72 65 | 63 65 69 76 65 73 20 64 |ds or re|ceives d|
|00003050| 61 74 61 20 66 72 6f 6d | 20 61 20 6d 6f 64 65 6d |ata from| a modem|
|00003060| 2e 0d 00 01 00 09 00 84 | 00 23 00 0d 00 00 00 61 |........|.#.....a|
|00003070| 00 0d 00 00 00 62 00 09 | 00 84 00 7b 00 0d 00 00 |.....b..|...{....|
|00003080| 00 b8 00 0d 00 00 00 b9 | 00 09 00 84 00 d6 00 0d |........|........|
|00003090| 00 00 00 d7 00 0d 00 00 | 00 fc 00 0d 00 00 0d 54 |........|.......T|
|000030a0| 68 65 20 75 73 75 61 6c | 20 70 75 72 70 6f 73 65 |he usual| purpose|
|000030b0| 20 6f 66 20 74 68 65 73 | 65 20 74 77 6f 20 66 75 | of thes|e two fu|
|000030c0| 6e 63 74 69 6f 6e 73 20 | 69 73 20 74 6f 20 74 72 |nctions |is to tr|
|000030d0| 61 6e 73 6d 69 74 20 64 | 61 74 61 20 6f 6e 63 65 |ansmit d|ata once|
|000030e0| 20 61 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 69 73 | a conne|ction is|
|000030f0| 20 65 73 74 61 62 6c 69 | 73 68 65 64 2e 0d 0d 54 | establi|shed...T|
|00003100| 68 65 20 6d 61 69 6e 20 | 70 75 72 70 6f 73 65 20 |he main |purpose |
|00003110| 6f 66 20 4d 6f 64 65 6d | 53 65 6e 64 44 61 74 61 |of Modem|SendData|
|00003120| 20 61 6e 64 20 4d 6f 64 | 65 6d 47 65 74 44 61 74 | and Mod|emGetDat|
|00003130| 61 20 69 73 20 74 6f 20 | 74 72 61 6e 73 66 65 72 |a is to |transfer|
|00003140| 20 64 61 74 61 20 74 6f | 20 61 6e 64 20 66 72 6f | data to| and fro|
|00003150| 6d 20 74 68 65 20 72 65 | 6d 6f 74 65 20 6d 6f 64 |m the re|mote mod|
|00003160| 65 6d 20 6f 72 20 6e 65 | 74 77 6f 72 6b 20 6f 6e |em or ne|twork on|
|00003170| 63 65 20 79 6f 75 20 68 | 61 76 65 20 65 73 74 61 |ce you h|ave esta|
|00003180| 62 6c 69 73 68 65 64 20 | 61 20 63 6f 6e 6e 65 63 |blished |a connec|
|00003190| 74 69 6f 6e 2e 0d 0d 4d | 6f 64 65 6d 53 65 6e 64 |tion...M|odemSend|
|000031a0| 44 61 74 61 20 73 65 6e | 64 73 20 28 22 77 72 69 |Data sen|ds ("wri|
|000031b0| 74 65 73 22 29 20 77 68 | 61 74 65 76 65 72 20 69 |tes") wh|atever i|
|000031c0| 73 20 69 6e 20 62 75 66 | 66 65 72 20 66 6f 72 20 |s in buf|fer for |
|000031d0| 6c 65 6e 67 74 68 20 62 | 79 74 65 20 63 6f 75 6e |length b|yte coun|
|000031e0| 74 2e 0d 0d 4d 6f 64 65 | 6d 47 65 74 44 61 74 61 |t...Mode|mGetData|
|000031f0| 2c 20 68 6f 77 65 76 65 | 72 2c 20 77 6f 72 6b 73 |, howeve|r, works|
|00003200| 20 22 61 73 79 6e 63 68 | 72 6f 6e 6f 75 73 6c 79 | "asynch|ronously|
|00003210| 2c 22 20 77 68 69 63 68 | 20 69 73 20 74 6f 20 73 |," which| is to s|
|00003220| 61 79 20 69 74 20 77 69 | 6c 6c 20 6f 6e 6c 79 20 |ay it wi|ll only |
|00003230| 72 65 61 64 20 74 68 65 | 20 64 61 74 61 20 74 68 |read the| data th|
|00003240| 61 74 20 69 73 20 61 76 | 61 69 6c 61 62 6c 65 20 |at is av|ailable |
|00003250| 6f 72 2c 20 69 66 20 6e | 6f 20 64 61 74 61 20 69 |or, if n|o data i|
|00003260| 73 20 61 76 61 69 6c 61 | 62 6c 65 2c 20 77 69 6c |s availa|ble, wil|
|00003270| 6c 20 73 65 74 20 6c 65 | 6e 67 74 68 20 74 6f 20 |l set le|ngth to |
|00003280| 7a 65 72 6f 20 61 6e 64 | 20 72 65 74 75 72 6e 2e |zero and| return.|
|00003290| 20 20 45 69 74 68 65 72 | 20 77 61 79 20 69 74 20 | Either| way it |
|000032a0| 61 6c 77 61 79 73 20 72 | 65 74 75 72 6e 73 20 69 |always r|eturns i|
|000032b0| 6d 6d 65 64 69 61 74 65 | 6c 79 2c 20 77 68 65 74 |mmediate|ly, whet|
|000032c0| 68 65 72 20 6f 72 20 6e | 6f 74 20 61 6e 79 20 64 |her or n|ot any d|
|000032d0| 61 74 61 20 77 61 73 20 | 74 72 61 6e 73 66 65 72 |ata was |transfer|
|000032e0| 72 65 64 2e 0d 00 01 00 | 0d 00 00 00 60 00 0d 00 |red.....|....`...|
|000032f0| 00 00 61 00 0d 00 00 00 | f8 00 0d 00 00 00 f9 00 |..a.....|........|
|00003300| 0d 00 00 01 45 00 0d 00 | 00 01 46 00 0d 00 00 02 |....E...|..F.....|
|00003310| 47 00 0d 00 00 0d 49 66 | 20 4d 6f 64 65 6d 53 65 |G.....If| ModemSe|
|00003320| 6e 64 44 61 74 61 20 6f | 72 20 4d 6f 64 65 6d 47 |ndData o|r ModemG|
|00003330| 65 74 44 61 74 61 20 61 | 72 65 20 73 75 63 63 65 |etData a|re succe|
|00003340| 73 73 66 75 6c 2c 20 6e | 6f 45 72 72 20 28 30 29 |ssful, n|oErr (0)|
|00003350| 20 69 73 20 72 65 74 75 | 72 6e 65 64 2c 20 6f 74 | is retu|rned, ot|
|00003360| 68 65 72 77 69 73 65 20 | 74 68 65 20 61 70 70 72 |herwise |the appr|
|00003370| 6f 70 72 69 61 74 65 20 | 4f 53 20 65 72 72 6f 72 |opriate |OS error|
|00003380| 20 77 69 6c 6c 20 62 65 | 20 72 65 74 75 72 6e 65 | will be| returne|
|00003390| 64 2e 0d 0d 49 66 20 4d | 6f 64 65 6d 47 65 74 44 |d...If M|odemGetD|
|000033a0| 61 74 61 20 72 65 74 75 | 72 6e 73 20 6e 6f 74 68 |ata retu|rns noth|
|000033b0| 69 6e 67 20 28 62 65 63 | 61 75 73 65 20 6e 6f 20 |ing (bec|ause no |
|000033c0| 69 6e 70 75 74 20 62 79 | 74 65 73 20 61 72 65 20 |input by|tes are |
|000033d0| 61 76 61 69 6c 61 62 6c | 65 29 20 69 74 20 72 65 |availabl|e) it re|
|000033e0| 74 75 72 6e 73 20 6e 6f | 45 72 72 2c 20 73 6f 20 |turns no|Err, so |
|000033f0| 63 68 65 63 6b 20 74 68 | 65 20 6c 65 6e 67 74 68 |check th|e length|
|00003400| 20 70 61 72 61 6d 65 74 | 65 72 20 66 6f 72 20 7a | paramet|er for z|
|00003410| 65 72 6f 20 62 79 74 65 | 73 20 74 6f 20 64 65 74 |ero byte|s to det|
|00003420| 65 63 74 20 74 68 61 74 | 20 6e 6f 74 68 69 6e 67 |ect that| nothing|
|00003430| 20 77 61 73 20 72 65 63 | 65 69 76 65 64 2e 0d 0d | was rec|eived...|
|00003440| 0d 70 61 73 63 61 6c 20 | 4f 53 45 72 72 20 4d 6f |.pascal |OSErr Mo|
|00003450| 64 65 6d 48 61 6e 67 55 | 70 28 6d 6f 64 65 6d 5f |demHangU|p(modem_|
|00003460| 68 61 6e 64 6c 65 20 6d | 6f 64 65 6d 5f 72 65 66 |handle m|odem_ref|
|00003470| 29 3b 0d 46 55 4e 43 54 | 49 4f 4e 20 4d 6f 64 65 |);.FUNCT|ION Mode|
|00003480| 6d 48 61 6e 67 55 70 20 | 28 6d 6f 64 65 6d 5f 72 |mHangUp |(modem_r|
|00003490| 65 66 3a 20 6d 6f 64 65 | 6d 5f 68 61 6e 64 6c 65 |ef: mode|m_handle|
|000034a0| 29 3a 20 4f 53 45 72 72 | 3b 0d 0d 48 61 6e 67 73 |): OSErr|;..Hangs|
|000034b0| 20 75 70 20 74 68 65 20 | 6d 6f 64 65 6d 20 70 68 | up the |modem ph|
|000034c0| 6f 6e 65 20 6c 69 6e 65 | 20 61 66 74 65 72 20 61 |one line| after a|
|000034d0| 20 63 6f 6e 6e 65 63 74 | 69 6f 6e 20 68 61 73 20 | connect|ion has |
|000034e0| 62 65 65 6e 20 6d 61 64 | 65 2e 20 20 54 68 65 20 |been mad|e. The |
|000034f0| 70 75 72 70 6f 73 65 20 | 6f 66 20 4d 6f 64 65 6d |purpose |of Modem|
|00003500| 48 61 6e 67 75 70 20 69 | 73 20 74 6f 20 64 69 73 |Hangup i|s to dis|
|00003510| 63 6f 6e 74 69 6e 75 65 | 20 61 20 63 6f 6e 6e 65 |continue| a conne|
|00003520| 63 74 69 6f 6e 2e 0d 0d | 00 01 00 0d 00 00 00 7e |ction...|.......~|
|00003530| 00 0d 00 00 00 7f 00 0d | 00 00 01 2a 00 0d 00 00 |........|...*....|
|00003540| 01 2b 00 0d 00 00 01 2c | 00 0d 00 00 01 5e 00 0d |.+.....,|.....^..|
|00003550| 00 00 01 95 00 0d 00 00 | 01 96 00 0d 00 00 02 12 |........|........|
|00003560| 00 0d 00 00 02 13 00 0d | 00 00 54 68 65 20 6d 6f |........|..The mo|
|00003570| 64 65 6d 5f 72 65 66 20 | 70 61 72 61 6d 65 74 65 |dem_ref |paramete|
|00003580| 72 20 6d 75 73 74 20 62 | 65 20 74 68 65 20 73 61 |r must b|e the sa|
|00003590| 6d 65 20 6d 6f 64 65 6d | 5f 68 61 6e 64 6c 65 20 |me modem|_handle |
|000035a0| 79 6f 75 20 75 73 65 64 | 20 74 6f 20 6d 61 6b 65 |you used| to make|
|000035b0| 20 74 68 65 20 63 6f 6e | 6e 65 63 74 69 6f 6e 2e | the con|nection.|
|000035c0| 0d 0d 49 66 20 74 68 69 | 73 20 4d 6f 64 65 6d 48 |..If thi|s ModemH|
|000035d0| 61 6e 67 55 70 20 69 73 | 20 73 75 63 63 65 73 73 |angUp is| success|
|000035e0| 66 75 6c 2c 20 6e 6f 45 | 72 72 20 28 30 29 20 69 |ful, noE|rr (0) i|
|000035f0| 73 20 72 65 74 75 72 6e | 65 64 2c 20 6f 74 68 65 |s return|ed, othe|
|00003600| 72 77 69 73 65 20 69 74 | 20 77 69 6c 6c 20 72 65 |rwise it| will re|
|00003610| 74 75 72 6e 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |turn one| of the |
|00003620| 66 6f 6c 6c 6f 77 69 6e | 67 20 65 72 72 6f 72 73 |followin|g errors|
|00003630| 3a 0d 0d 0d 31 30 30 30 | 09 69 64 6c 65 5f 70 72 |:...1000|.idle_pr|
|00003640| 6f 63 5f 61 62 6f 72 74 | 5f 65 72 72 6f 72 09 74 |oc_abort|_error.t|
|00003650| 68 65 20 69 64 6c 65 20 | 70 72 6f 63 20 61 62 6f |he idle |proc abo|
|00003660| 72 74 65 64 0d 31 30 30 | 32 09 65 72 72 6f 72 5f |rted.100|2.error_|
|00003670| 65 72 72 6f 72 09 6d 6f | 64 65 6d 20 72 65 70 6f |error.mo|dem repo|
|00003680| 72 74 69 6e 67 20 61 20 | 67 65 6e 65 72 61 6c 20 |rting a |general |
|00003690| 65 72 72 6f 72 0d 31 30 | 30 36 09 75 6e 6b 6e 6f |error.10|06.unkno|
|000036a0| 77 6e 5f 65 72 72 6f 72 | 09 63 6f 6d 6d 75 6e 69 |wn_error|.communi|
|000036b0| 63 61 74 69 6f 6e 20 66 | 61 69 6c 65 64 20 61 6e |cation f|ailed an|
|000036c0| 64 20 49 20 64 6f 6e 27 | 74 20 6b 6e 6f 77 20 77 |d I don'|t know w|
|000036d0| 68 79 0d 31 30 30 38 09 | 6e 6f 74 5f 63 6f 6e 6e |hy.1008.|not_conn|
|000036e0| 65 63 74 65 64 5f 65 72 | 72 6f 72 09 6e 6f 20 63 |ected_er|ror.no c|
|000036f0| 6f 6e 6e 65 63 74 69 6f | 6e 20 77 61 73 20 65 73 |onnectio|n was es|
|00003700| 74 61 62 6c 69 73 68 65 | 64 0d 0d 28 6e 65 67 61 |tablishe|d..(nega|
|00003710| 74 69 76 65 29 09 4f 53 | 20 6f 72 20 6d 65 6d 6f |tive).OS| or memo|
|00003720| 72 79 20 65 72 72 6f 72 | 0d 0d 45 6e 64 69 6e 67 |ry error|..Ending|
|00003730| 0d 0d 70 61 73 63 61 6c | 20 76 6f 69 64 20 4d 6f |..pascal| void Mo|
|00003740| 64 65 6d 43 6c 6f 73 65 | 28 6d 6f 64 65 6d 5f 68 |demClose|(modem_h|
|00003750| 61 6e 64 6c 65 20 6d 6f | 64 65 6d 5f 72 65 66 29 |andle mo|dem_ref)|
|00003760| 3b 0d 50 52 4f 43 45 44 | 55 52 45 20 4d 6f 64 65 |;.PROCED|URE Mode|
|00003770| 6d 43 6c 6f 73 65 20 28 | 6d 6f 64 65 6d 5f 72 65 |mClose (|modem_re|
|00003780| 66 3a 20 6d 6f 64 65 6d | 5f 68 61 6e 64 6c 65 29 |f: modem|_handle)|
|00003790| 3b 0d 0d 43 6c 6f 73 65 | 73 20 74 68 65 20 73 65 |;..Close|s the se|
|000037a0| 72 69 61 6c 20 70 6f 72 | 74 20 61 6e 64 20 64 69 |rial por|t and di|
|000037b0| 73 70 6f 73 65 73 20 61 | 20 6d 6f 64 65 6d 5f 68 |sposes a| modem_h|
|000037c0| 61 6e 64 6c 65 2e 20 20 | 55 73 65 20 74 68 69 73 |andle. |Use this|
|000037d0| 20 66 75 6e 63 74 69 6f | 6e 20 6f 6e 63 65 20 79 | functio|n once y|
|000037e0| 6f 75 20 61 72 65 20 63 | 6f 6d 70 6c 65 74 65 6c |ou are c|ompletel|
|000037f0| 79 20 74 68 72 6f 75 67 | 68 20 75 73 69 6e 67 20 |y throug|h using |
|00003800| 61 20 6d 6f 64 65 6d 5f | 68 61 6e 64 6c 65 2e 0d |a modem_|handle..|
|00003810| 0d 4d 6f 64 65 6d 43 6c | 6f 73 65 20 77 69 6c 6c |.ModemCl|ose will|
|00003820| 20 63 6c 6f 73 65 20 74 | 68 65 20 73 65 72 69 61 | close t|he seria|
|00003830| 6c 20 70 6f 72 74 20 28 | 70 72 65 76 69 6f 75 73 |l port (|previous|
|00003840| 6c 79 20 6f 70 65 6e 65 | 64 20 77 69 74 68 20 4d |ly opene|d with M|
|00003850| 6f 64 65 6d 4f 70 65 6e | 29 20 61 6e 64 20 77 69 |odemOpen|) and wi|
|00003860| 6c 6c 20 64 69 73 70 6f | 73 65 20 74 68 65 20 6d |ll dispo|se the m|
|00003870| 6f 64 65 6d 5f 68 61 6e | 64 6c 65 20 6d 6f 64 65 |odem_han|dle mode|
|00003880| 6d 5f 72 65 66 2e 0d 0d | 49 64 6c 65 20 50 72 6f |m_ref...|Idle Pro|
|00003890| 63 0d 0d 70 61 73 63 61 | 6c 20 76 6f 69 64 20 4d |c..pasca|l void M|
|000038a0| 6f 64 65 6d 53 65 74 49 | 64 6c 65 50 72 6f 63 28 |odemSetI|dleProc(|
|000038b0| 6d 6f 64 65 6d 5f 68 61 | 6e 64 6c 65 20 6d 6f 64 |modem_ha|ndle mod|
|000038c0| 65 6d 5f 72 65 66 2c 0d | 09 09 09 09 63 6f 6e 73 |em_ref,.|....cons|
|000038d0| 74 20 6d 6f 64 65 6d 5f | 69 64 6c 65 5f 70 72 6f |t modem_|idle_pro|
|000038e0| 63 20 69 64 6c 65 5f 70 | 72 6f 63 29 3b 0d 50 52 |c idle_p|roc);.PR|
|000038f0| 4f 43 45 44 55 52 45 20 | 4d 6f 64 65 6d 53 65 74 |OCEDURE |ModemSet|
|00003900| 49 64 6c 65 50 72 6f 63 | 20 28 6d 6f 64 65 6d 5f |IdleProc| (modem_|
|00003910| 72 65 66 3a 20 6d 6f 64 | 65 6d 5f 68 61 6e 64 6c |ref: mod|em_handl|
|00003920| 65 3b 20 0d 09 09 09 09 | 69 64 6c 65 5f 70 72 6f |e; .....|idle_pro|
|00003930| 63 3a 20 50 72 6f 63 50 | 74 72 29 3b 0d 0d 53 65 |c: ProcP|tr);..Se|
|00003940| 74 73 20 74 68 65 20 69 | 64 6c 65 20 70 72 6f 63 |ts the i|dle proc|
|00003950| 20 66 75 6e 63 74 69 6f | 6e 20 66 6f 72 20 61 20 | functio|n for a |
|00003960| 6d 6f 64 65 6d 5f 68 61 | 6e 64 6c 65 2e 0d 00 57 |modem_ha|ndle...W|
|00003970| 00 0d 00 00 00 58 00 0d | 00 00 00 c8 00 0d 00 00 |.....X..|........|
|00003980| 00 c9 00 0d 00 00 00 ca | 00 0d 00 00 00 cf 00 09 |........|........|
|00003990| 00 12 00 e5 00 09 00 24 | 00 fb 00 0d 00 00 01 00 |.......$|........|
|000039a0| 00 09 00 12 01 0c 00 09 | 00 60 01 2c 00 0d 00 00 |........|.`.,....|
|000039b0| 01 31 00 09 00 12 01 3f | 00 09 00 54 01 69 00 0d |.1.....?|...T.i..|
|000039c0| 00 00 01 6e 00 09 00 12 | 01 82 00 09 00 30 01 a0 |...n....|.....0..|
|000039d0| 00 0d 00 00 01 a1 00 0d | 00 00 01 ac 00 09 00 90 |........|........|
|000039e0| 01 bf 00 0d 00 00 01 c0 | 00 0d 00 00 01 c7 00 0d |........|........|
|000039f0| 00 00 01 c8 00 0d 00 00 | 01 f8 00 0d 00 00 02 28 |........|.......(|
|00003a00| 00 0d 00 00 02 29 00 0d | 00 00 02 a6 00 0d 00 00 |.....)..|........|
|00003a10| 02 a7 00 0d 00 00 03 1d | 00 0d 00 00 03 1e 00 0d |........|........|
|00003a20| 00 00 03 28 00 0d 00 00 | 03 29 00 0d 00 00 03 5e |...(....|.).....^|
|00003a30| 00 0d 00 00 03 5f 00 09 | 00 18 03 60 00 09 00 18 |....._..|...`....|
|00003a40| 03 61 00 09 00 18 03 62 | 00 09 00 18 03 84 00 0d |.a.....b|........|
|00003a50| 00 00 03 ba 00 0d 00 00 | 03 bb 00 09 00 18 03 bc |........|........|
|00003a60| 00 09 00 18 03 bd 00 09 | 00 18 03 be 00 09 00 18 |........|........|
|00003a70| 03 d3 00 0d 00 00 03 d4 | 00 0d 00 00 04 04 00 0d |........|........|
|00003a80| 00 00 0d 4d 6f 64 65 6d | 53 65 74 49 64 6c 65 50 |...Modem|SetIdleP|
|00003a90| 72 6f 63 20 69 73 20 61 | 6e 20 61 6c 74 65 72 6e |roc is a|n altern|
|00003aa0| 61 74 69 76 65 20 77 61 | 79 20 74 6f 20 73 65 74 |ative wa|y to set|
|00003ab0| 20 61 6e 20 69 64 6c 65 | 20 70 72 6f 63 20 61 6e | an idle| proc an|
|00003ac0| 64 2f 6f 72 20 61 20 77 | 61 79 20 74 6f 20 63 68 |d/or a w|ay to ch|
|00003ad0| 61 6e 67 65 20 74 68 65 | 20 69 64 6c 65 20 70 72 |ange the| idle pr|
|00003ae0| 6f 63 20 66 6f 72 20 64 | 69 66 66 65 72 65 6e 74 |oc for d|ifferent|
|00003af0| 20 61 63 74 69 6f 6e 73 | 2e 0d 0d 54 68 65 20 69 | actions|...The i|
|00003b00| 64 6c 65 5f 70 72 6f 63 | 20 70 61 72 61 6d 65 74 |dle_proc| paramet|
|00003b10| 65 72 20 6d 75 73 74 20 | 62 65 20 61 20 70 6f 69 |er must |be a poi|
|00003b20| 6e 74 65 72 20 74 6f 20 | 79 6f 75 72 20 69 64 6c |nter to |your idl|
|00003b30| 65 20 70 72 6f 63 20 66 | 75 6e 63 74 69 6f 6e 2c |e proc f|unction,|
|00003b40| 20 6f 72 20 69 74 20 63 | 61 6e 20 62 65 20 4e 49 | or it c|an be NI|
|00003b50| 4c 2e 20 20 54 68 65 20 | 6e 65 77 20 69 64 6c 65 |L. The |new idle|
|00003b60| 20 70 72 6f 63 20 69 73 | 20 73 65 74 20 69 6e 20 | proc is| set in |
|00003b70| 6d 6f 64 65 6d 5f 72 65 | 66 2c 20 77 68 69 63 68 |modem_re|f, which|
|00003b80| 20 6d 75 73 74 20 62 65 | 20 61 20 6d 6f 64 65 6d | must be| a modem|
|00003b90| 5f 68 61 6e 64 6c 65 20 | 72 65 74 75 72 6e 65 64 |_handle |returned|
|00003ba0| 20 70 72 65 76 69 6f 75 | 73 6c 79 20 66 72 6f 6d | previou|sly from|
|00003bb0| 20 4d 6f 64 65 6d 4f 70 | 65 6e 2e 0d 0c 0d 41 74 | ModemOp|en....At|
|00003bc0| 74 61 63 68 65 64 20 44 | 61 74 61 0d 0d 70 61 73 |tached D|ata..pas|
|00003bd0| 63 61 6c 20 76 6f 69 64 | 20 4d 6f 64 65 6d 53 65 |cal void| ModemSe|
|00003be0| 74 52 65 66 43 6f 6e 28 | 6d 6f 64 65 6d 5f 68 61 |tRefCon(|modem_ha|
|00003bf0| 6e 64 6c 65 20 6d 6f 64 | 65 6d 5f 72 65 66 2c 20 |ndle mod|em_ref, |
|00003c00| 6c 6f 6e 67 20 6e 65 77 | 5f 76 61 6c 29 3b 0d 70 |long new|_val);.p|
|00003c10| 61 73 63 61 6c 20 6c 6f | 6e 67 20 4d 6f 64 65 6d |ascal lo|ng Modem|
|00003c20| 47 65 74 52 65 66 43 6f | 6e 28 63 6f 6e 73 74 20 |GetRefCo|n(const |
|00003c30| 6d 6f 64 65 6d 5f 68 61 | 6e 64 6c 65 20 6d 6f 64 |modem_ha|ndle mod|
|00003c40| 65 6d 5f 72 65 66 29 3b | 0d 50 52 4f 43 45 44 55 |em_ref);|.PROCEDU|
|00003c50| 52 45 20 4d 6f 64 65 6d | 53 65 74 52 65 66 43 6f |RE Modem|SetRefCo|
|00003c60| 6e 20 28 6d 6f 64 65 6d | 5f 72 65 66 3a 20 6d 6f |n (modem|_ref: mo|
|00003c70| 64 65 6d 5f 68 61 6e 64 | 6c 65 3b 20 6e 65 77 5f |dem_hand|le; new_|
|00003c80| 76 61 6c 3a 20 4c 4f 4e | 47 49 4e 54 29 3b 0d 46 |val: LON|GINT);.F|
|00003c90| 55 4e 43 54 49 4f 4e 20 | 4d 6f 64 65 6d 47 65 74 |UNCTION |ModemGet|
|00003ca0| 52 65 66 43 6f 6e 20 28 | 6d 6f 64 65 6d 5f 72 65 |RefCon (|modem_re|
|00003cb0| 66 3a 20 6d 6f 64 65 6d | 5f 68 61 6e 64 6c 65 29 |f: modem|_handle)|
|00003cc0| 3a 20 4c 4f 4e 47 49 4e | 54 3b 0d 0d 53 65 74 73 |: LONGIN|T;..Sets|
|00003cd0| 2f 67 65 74 73 20 61 6e | 20 61 70 70 6c 69 63 61 |/gets an| applica|
|00003ce0| 74 69 6f 6e 2d 64 65 66 | 69 6e 65 64 20 33 32 2d |tion-def|ined 32-|
|00003cf0| 62 69 74 20 76 61 6c 75 | 65 20 66 6f 72 20 61 20 |bit valu|e for a |
|00003d00| 6d 6f 64 65 6d 5f 68 61 | 6e 64 6c 65 2e 0d 0d 4d |modem_ha|ndle...M|
|00003d10| 6f 64 65 6d 53 65 74 52 | 65 66 43 6f 6e 20 70 6c |odemSetR|efCon pl|
|00003d20| 61 63 65 73 20 61 6e 79 | 20 33 32 2d 62 69 74 20 |aces any| 32-bit |
|00003d30| 76 61 6c 75 65 20 6e 65 | 77 5f 76 61 6c 20 69 6e |value ne|w_val in|
|00003d40| 74 6f 20 6d 6f 64 65 6d | 5f 68 61 6e 64 6c 65 20 |to modem|_handle |
|00003d50| 6d 6f 64 65 6d 5f 72 65 | 66 2e 0d 0d 4d 6f 64 65 |modem_re|f...Mode|
|00003d60| 6d 47 65 74 52 65 66 43 | 6f 6e 20 72 65 74 75 72 |mGetRefC|on retur|
|00003d70| 6e 73 20 74 68 65 20 33 | 32 2d 62 69 74 20 76 61 |ns the 3|2-bit va|
|00003d80| 6c 75 65 20 69 6e 20 6d | 6f 64 65 6d 5f 72 65 66 |lue in m|odem_ref|
|00003d90| 2e 0d 0d 54 68 65 20 72 | 65 66 43 6f 6e 20 76 61 |...The r|efCon va|
|00003da0| 6c 75 65 20 63 61 6e 20 | 62 65 20 61 6e 79 74 68 |lue can |be anyth|
|00003db0| 69 6e 67 20 61 6e 64 20 | 64 6f 65 73 20 6e 6f 74 |ing and |does not|
|00003dc0| 20 61 66 66 65 63 74 20 | 63 6f 6d 6d 75 6e 69 63 | affect |communic|
|00003dd0| 61 74 69 6f 6e 73 20 6f | 72 20 61 6e 79 20 73 65 |ations o|r any se|
|00003de0| 72 69 61 6c 2f 6d 6f 64 | 65 6d 20 70 61 72 61 6d |rial/mod|em param|
|00003df0| 65 74 65 72 73 2e 0d 00 | 01 00 0d 00 00 00 78 00 |eters...|......x.|
|00003e00| 0d 00 00 00 79 00 0d 00 | 00 01 3a 00 0d 00 00 01 |....y...|..:.....|
|00003e10| 3b 00 0c 00 00 01 3c 00 | 0d 00 00 01 4a 00 0d 00 |;.....<.|....J...|
|00003e20| 00 01 4b 00 0d 00 00 01 | 8d 00 0d 00 00 01 c7 00 |..K.....|........|
|00003e30| 0d 00 00 02 0d 00 0d 00 | 00 02 49 00 0d 00 00 02 |........|..I.....|
|00003e40| 4a 00 0d 00 00 02 8c 00 | 0d 00 00 02 8d 00 0d 00 |J.......|........|
|00003e50| 00 02 d9 00 0d 00 00 02 | da 00 0d 00 00 03 10 00 |........|........|
|00003e60| 0d 00 00 03 11 00 0d 00 | 00 03 75 00 0d 00 00 0d |........|..u.....|
|00003e70| 0d 43 75 73 74 6f 6d 69 | 7a 69 6e 67 20 4d 6f 64 |.Customi|zing Mod|
|00003e80| 65 6d 20 43 6f 6d 6d 61 | 6e 64 73 0d 0d 0d 45 73 |em Comma|nds...Es|
|00003e90| 74 61 62 6c 69 73 68 69 | 6e 67 20 61 20 6d 6f 64 |tablishi|ng a mod|
|00003ea0| 65 6d 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 77 69 |em conne|ction wi|
|00003eb0| 74 68 20 74 68 65 73 65 | 20 66 75 6e 63 74 69 6f |th these| functio|
|00003ec0| 6e 73 20 6f 6e 6c 79 20 | 70 65 72 66 6f 72 6d 20 |ns only |perform |
|00003ed0| 74 68 65 20 6d 6f 73 74 | 20 62 61 73 69 63 20 6d |the most| basic m|
|00003ee0| 6f 64 65 6d 20 69 6e 69 | 74 69 61 6c 69 7a 61 74 |odem ini|tializat|
|00003ef0| 69 6f 6e 73 20 74 68 61 | 74 20 61 72 65 20 63 6f |ions tha|t are co|
|00003f00| 6d 6d 6f 6e 20 74 6f 20 | 6d 6f 73 74 20 61 70 70 |mmon to |most app|
|00003f10| 6c 69 63 61 74 69 6f 6e | 73 2e 0d 0d 54 68 65 72 |lication|s...Ther|
|00003f20| 65 20 63 6f 75 6c 64 20 | 62 65 20 61 20 72 65 71 |e could |be a req|
|00003f30| 75 69 72 65 6d 65 6e 74 | 2c 20 68 6f 77 65 76 65 |uirement|, howeve|
|00003f40| 72 2c 20 74 6f 20 73 65 | 6e 64 20 61 64 64 69 74 |r, to se|nd addit|
|00003f50| 69 6f 6e 61 6c 20 63 6f | 6d 6d 61 6e 64 73 20 74 |ional co|mmands t|
|00003f60| 6f 20 79 6f 75 72 20 6d | 6f 64 65 6d 2e 0d 0d 54 |o your m|odem...T|
|00003f70| 6f 20 64 6f 20 73 6f 2c | 20 79 6f 75 20 73 68 6f |o do so,| you sho|
|00003f80| 75 6c 64 20 66 69 72 73 | 74 20 22 6f 70 65 6e 22 |uld firs|t "open"|
|00003f90| 20 74 68 65 20 73 65 72 | 69 61 6c 20 63 68 61 6e | the ser|ial chan|
|00003fa0| 6e 65 6c 20 75 73 69 6e | 67 20 4d 6f 64 65 6d 4f |nel usin|g ModemO|
|00003fb0| 70 65 6e 20 75 73 69 6e | 67 20 74 68 65 20 70 61 |pen usin|g the pa|
|00003fc0| 72 61 6d 65 74 65 72 73 | 20 79 6f 75 20 77 61 6e |rameters| you wan|
|00003fd0| 74 20 66 6f 72 20 74 68 | 65 20 73 65 72 69 61 6c |t for th|e serial|
|00003fe0| 20 70 6f 72 74 20 69 74 | 73 65 6c 66 20 28 62 61 | port it|self (ba|
|00003ff0| 75 64 20 72 61 74 65 2c | 20 64 61 74 61 20 62 69 |ud rate,| data bi|
|00004000| 74 73 2c 20 65 74 63 2e | 29 2e 0d 0d 54 68 65 6e |ts, etc.|)...Then|
|00004010| 2c 20 62 65 66 6f 72 65 | 20 79 6f 75 20 6d 61 6b |, before| you mak|
|00004020| 65 20 61 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 79 |e a conn|ection y|
|00004030| 6f 75 20 63 61 6e 20 75 | 73 65 20 4d 6f 64 65 6d |ou can u|se Modem|
|00004040| 53 65 6e 64 44 61 74 61 | 20 74 6f 20 73 65 6e 64 |SendData| to send|
|00004050| 20 6f 6e 65 20 6f 72 20 | 6d 6f 72 65 20 6d 6f 64 | one or |more mod|
|00004060| 65 6d 2d 73 70 65 63 69 | 66 69 63 20 63 6f 6d 6d |em-speci|fic comm|
|00004070| 61 6e 64 73 20 28 63 6f | 6e 73 75 6c 74 20 79 6f |ands (co|nsult yo|
|00004080| 75 72 20 6d 6f 64 65 6d | 20 64 6f 63 75 6d 65 6e |ur modem| documen|
|00004090| 74 61 74 69 6f 6e 20 66 | 6f 72 20 74 68 65 20 76 |tation f|or the v|
|000040a0| 61 72 69 6f 75 73 20 63 | 6f 6d 6d 61 6e 64 73 20 |arious c|ommands |
|000040b0| 61 76 61 69 6c 61 62 6c | 65 20 74 6f 20 79 6f 75 |availabl|e to you|
|000040c0| 72 20 6d 6f 64 65 6d 29 | 2e 0d 0d 4d 6f 73 74 20 |r modem)|...Most |
|000040d0| 6d 6f 64 65 6d 73 20 77 | 69 6c 6c 20 75 73 75 61 |modems w|ill usua|
|000040e0| 6c 6c 79 20 72 65 73 70 | 6f 6e 64 20 69 6e 20 73 |lly resp|ond in s|
|000040f0| 6f 6d 65 20 77 61 79 20 | 74 6f 20 61 20 63 6f 6d |ome way |to a com|
|00004100| 6d 61 6e 64 2c 20 73 75 | 63 68 20 61 73 20 72 65 |mand, su|ch as re|
|00004110| 74 75 72 6e 69 6e 67 20 | 74 68 65 20 6d 65 73 73 |turning |the mess|
|00004120| 61 67 65 20 22 4f 4b 2e | 22 20 20 4f 6e 65 20 77 |age "OK.|" One w|
|00004130| 61 79 20 74 6f 20 64 65 | 74 65 63 74 20 74 68 69 |ay to de|tect thi|
|00004140| 73 20 63 6f 6d 6d 61 6e | 64 2d 72 65 73 70 6f 6e |s comman|d-respon|
|00004150| 73 65 20 77 6f 75 6c 64 | 20 62 65 20 74 6f 20 6d |se would| be to m|
|00004160| 6f 6e 69 74 6f 72 20 74 | 68 65 20 69 6e 70 75 74 |onitor t|he input|
|00004170| 20 63 68 61 72 61 63 74 | 65 72 20 73 74 72 65 61 | charact|er strea|
|00004180| 6d 20 d1 20 75 73 69 6e | 67 20 4d 6f 64 65 6d 47 |m . usin|g ModemG|
|00004190| 65 74 44 61 74 61 20 d1 | 20 62 75 74 20 74 68 61 |etData .| but tha|
|000041a0| 74 20 63 61 6e 20 62 65 | 20 73 6f 6d 65 77 68 61 |t can be| somewha|
|000041b0| 74 20 63 6f 6d 70 6c 65 | 78 2e 0d 0d 46 6f 72 20 |t comple|x...For |
|000041c0| 74 68 69 73 20 70 75 72 | 70 6f 73 65 20 77 65 20 |this pur|pose we |
|000041d0| 68 61 76 65 20 70 72 6f | 76 69 64 65 64 20 74 68 |have pro|vided th|
|000041e0| 65 20 66 75 6e 63 74 69 | 6f 6e 20 4d 6f 64 65 6d |e functi|on Modem|
|000041f0| 57 61 69 74 46 6f 72 52 | 65 73 75 6c 74 2e 0d 0d |WaitForR|esult...|
|00004200| 70 61 73 63 61 6c 20 4f | 53 45 72 72 20 4d 6f 64 |pascal O|SErr Mod|
|00004210| 65 6d 57 61 69 74 46 6f | 72 52 65 73 75 6c 74 28 |emWaitFo|rResult(|
|00004220| 63 6f 6e 73 74 20 6d 6f | 64 65 6d 5f 68 61 6e 64 |const mo|dem_hand|
|00004230| 6c 65 20 6d 6f 64 65 6d | 5f 72 65 66 2c 0d 09 09 |le modem|_ref,...|
|00004240| 09 09 09 09 63 6f 6e 73 | 74 20 76 6f 69 64 20 2a |....cons|t void *|
|00004250| 72 65 73 75 6c 74 5f 73 | 74 72 69 6e 67 2c 20 73 |result_s|tring, s|
|00004260| 69 7a 65 5f 74 20 6c 65 | 6e 67 74 68 29 3b 0d 00 |ize_t le|ngth);..|
|00004270| 01 00 0d 00 00 00 02 00 | 0d 00 00 00 1d 00 0d 00 |........|........|
|00004280| 00 00 1e 00 0d 00 00 00 | 1f 00 0d 00 00 00 ac 00 |........|........|
|00004290| 0d 00 00 00 ad 00 0d 00 | 00 00 ff 00 0d 00 00 01 |........|........|
|000042a0| 00 00 0d 00 00 01 9c 00 | 0d 00 00 01 9d 00 0d 00 |........|........|
|000042b0| 00 02 5b 00 0d 00 00 02 | 5c 00 0d 00 00 03 4c 00 |..[.....|\.....L.|
|000042c0| 0d 00 00 03 4d 00 0d 00 | 00 03 90 00 0d 00 00 03 |....M...|........|
|000042d0| 91 00 0d 00 00 03 cf 00 | 0d 00 00 03 d0 00 09 00 |........|........|
|000042e0| 18 03 d1 00 09 00 18 03 | d2 00 09 00 18 03 d3 00 |........|........|
|000042f0| 09 00 18 03 d4 00 09 00 | 18 03 d5 00 09 00 18 04 |........|........|
|00004300| 00 00 0d 00 00 46 55 4e | 43 54 49 4f 4e 20 4d 6f |.....FUN|CTION Mo|
|00004310| 64 65 6d 57 61 69 74 46 | 6f 72 52 65 73 75 6c 74 |demWaitF|orResult|
|00004320| 20 28 6d 6f 64 65 6d 5f | 72 65 66 3a 20 6d 6f 64 | (modem_|ref: mod|
|00004330| 65 6d 5f 68 61 6e 64 6c | 65 3b 20 0d 09 09 09 09 |em_handl|e; .....|
|00004340| 09 09 72 65 73 75 6c 74 | 5f 73 74 72 69 6e 67 3a |..result|_string:|
|00004350| 20 50 74 72 3b 20 6c 65 | 6e 67 74 68 3a 20 4c 4f | Ptr; le|ngth: LO|
|00004360| 4e 47 49 4e 54 29 3a 20 | 4f 53 45 72 72 3b 0d 0d |NGINT): |OSErr;..|
|00004370| 57 61 69 74 73 20 66 6f | 72 20 74 68 65 20 72 65 |Waits fo|r the re|
|00004380| 73 75 6c 74 20 6f 66 20 | 61 20 63 6f 6d 6d 61 6e |sult of |a comman|
|00004390| 64 20 73 65 6e 74 20 74 | 6f 20 74 68 65 20 6d 6f |d sent t|o the mo|
|000043a0| 64 65 6d 2e 0d 00 37 00 | 0d 00 00 00 38 00 09 00 |dem...7.|....8...|
|000043b0| 18 00 39 00 09 00 18 00 | 3a 00 09 00 18 00 3b 00 |..9.....|:.....;.|
|000043c0| 09 00 18 00 3c 00 09 00 | 18 00 3d 00 09 00 18 00 |....<...|..=.....|
|000043d0| 6a 00 0d 00 00 00 6b 00 | 0d 00 00 00 a0 00 0d 00 |j.....k.|........|
|000043e0| 00 0d 54 68 65 20 70 75 | 72 70 6f 73 65 20 6f 66 |..The pu|rpose of|
|000043f0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 20 69 | this fu|nction i|
|00004400| 73 20 74 6f 20 6d 6f 6e | 69 74 6f 72 20 74 68 65 |s to mon|itor the|
|00004410| 20 69 6e 70 75 74 20 63 | 68 61 72 61 63 74 65 72 | input c|haracter|
|00004420| 20 73 74 72 65 61 6d 20 | 66 72 6f 6d 20 74 68 65 | stream |from the|
|00004430| 20 73 65 72 69 61 6c 20 | 70 6f 72 74 20 66 6f 72 | serial |port for|
|00004440| 20 61 6e 20 6f 63 63 75 | 72 72 65 6e 63 65 20 6f | an occu|rrence o|
|00004450| 66 20 61 20 73 70 65 63 | 69 66 69 63 20 6d 6f 64 |f a spec|ific mod|
|00004460| 65 6d 20 72 65 73 70 6f | 6e 73 65 2e 0d 0d 4d 6f |em respo|nse...Mo|
|00004470| 64 65 6d 57 61 69 74 46 | 6f 72 52 65 73 75 6c 74 |demWaitF|orResult|
|00004480| 20 77 69 6c 6c 20 63 6f | 6e 74 69 6e 75 6f 75 73 | will co|ntinuous|
|00004490| 6c 79 20 6d 6f 6e 69 74 | 6f 72 20 61 6c 6c 20 69 |ly monit|or all i|
|000044a0| 6e 63 6f 6d 69 6e 67 20 | 62 79 74 65 73 20 61 6e |ncoming |bytes an|
|000044b0| 64 2c 20 69 66 20 69 74 | 20 66 69 6e 64 73 20 61 |d, if it| finds a|
|000044c0| 20 6d 61 74 63 68 20 74 | 6f 20 72 65 73 75 6c 74 | match t|o result|
|000044d0| 5f 73 74 72 69 6e 67 20 | 6f 66 20 6c 65 6e 67 74 |_string |of lengt|
|000044e0| 68 20 62 79 74 65 20 63 | 6f 75 6e 74 2c 20 69 74 |h byte c|ount, it|
|000044f0| 20 77 69 6c 6c 20 72 65 | 74 75 72 6e 20 77 69 74 | will re|turn wit|
|00004500| 68 20 6e 6f 45 72 72 20 | 28 30 29 2e 0d 0d 54 68 |h noErr |(0)...Th|
|00004510| 65 20 63 68 61 72 61 63 | 74 65 72 20 73 74 72 69 |e charac|ter stri|
|00004520| 6e 67 20 63 61 6e 20 62 | 65 20 61 6e 79 74 68 69 |ng can b|e anythi|
|00004530| 6e 67 2c 20 69 6e 63 6c | 75 64 69 6e 67 20 63 6f |ng, incl|uding co|
|00004540| 6e 74 72 6f 6c 20 63 68 | 61 72 61 63 74 65 72 73 |ntrol ch|aracters|
|00004550| 2e 0d 0d 54 68 65 20 69 | 64 6c 65 20 70 72 6f 63 |...The i|dle proc|
|00004560| 2c 20 69 66 20 69 74 20 | 65 78 69 73 74 73 2c 20 |, if it |exists, |
|00004570| 77 69 6c 6c 20 62 65 20 | 63 61 6c 6c 65 64 20 72 |will be |called r|
|00004580| 65 70 65 61 74 65 64 6c | 79 20 77 68 69 6c 65 20 |epeatedl|y while |
|00004590| 74 68 65 20 69 6e 70 75 | 74 20 63 68 61 72 61 63 |the inpu|t charac|
|000045a0| 74 65 72 73 20 61 72 65 | 20 6d 6f 6e 69 74 6f 72 |ters are| monitor|
|000045b0| 65 64 2e 20 49 66 20 79 | 6f 75 20 77 61 6e 74 20 |ed. If y|ou want |
|000045c0| 74 6f 20 67 69 76 65 20 | 74 68 65 20 75 73 65 72 |to give |the user|
|000045d0| 20 61 6e 20 6f 70 74 69 | 6f 6e 20 74 6f 20 63 61 | an opti|on to ca|
|000045e0| 6e 63 65 6c 20 74 68 65 | 20 61 63 74 69 6f 6e 20 |ncel the| action |
|000045f0| 61 6e 64 2f 6f 72 20 69 | 66 20 79 6f 75 20 77 61 |and/or i|f you wa|
|00004600| 6e 74 20 74 6f 20 65 73 | 74 61 62 6c 69 73 68 20 |nt to es|tablish |
|00004610| 61 20 22 74 69 6d 65 6f | 75 74 2c 22 20 79 6f 75 |a "timeo|ut," you|
|00004620| 20 73 68 6f 75 6c 64 20 | 75 73 65 20 74 68 65 20 | should |use the |
|00004630| 69 64 6c 65 20 70 72 6f | 63 20 66 6f 72 20 74 68 |idle pro|c for th|
|00004640| 69 73 20 70 75 72 70 6f | 73 65 20 28 73 65 65 20 |is purpo|se (see |
|00004650| 4d 6f 64 65 6d 47 65 74 | 44 65 66 61 75 6c 74 73 |ModemGet|Defaults|
|00004660| 20 66 6f 72 20 61 20 64 | 65 73 63 72 69 70 74 69 | for a d|escripti|
|00004670| 6f 6e 20 6f 66 20 74 68 | 65 20 69 64 6c 65 20 70 |on of th|e idle p|
|00004680| 72 6f 63 29 2e 0d 00 01 | 00 0d 00 00 00 8c 00 0d |roc)....|........|
|00004690| 00 00 00 8d 00 0d 00 00 | 01 2c 00 0d 00 00 01 2d |........|.,.....-|
|000046a0| 00 0d 00 00 01 71 00 0d | 00 00 01 72 00 0d 00 00 |.....q..|...r....|
|000046b0| 02 a5 00 0d 00 00 0d 0d | 50 6f 73 73 69 62 6c 65 |........|Possible|
|000046c0| 20 45 72 72 6f 72 20 52 | 65 73 75 6c 74 73 3a 0d | Error R|esults:.|
|000046d0| 0d 31 30 30 30 09 69 64 | 6c 65 5f 70 72 6f 63 5f |.1000.id|le_proc_|
|000046e0| 61 62 6f 72 74 5f 65 72 | 72 6f 72 09 74 68 65 20 |abort_er|ror.the |
|000046f0| 69 64 6c 65 20 70 72 6f | 63 20 61 62 6f 72 74 65 |idle pro|c aborte|
|00004700| 64 0d 31 30 30 32 09 65 | 72 72 6f 72 5f 65 72 72 |d.1002.e|rror_err|
|00004710| 6f 72 09 6d 6f 64 65 6d | 20 72 65 70 6f 72 74 69 |or.modem| reporti|
|00004720| 6e 67 20 61 20 67 65 6e | 65 72 61 6c 20 65 72 72 |ng a gen|eral err|
|00004730| 6f 72 0d 31 30 30 36 09 | 75 6e 6b 6e 6f 77 6e 5f |or.1006.|unknown_|
|00004740| 65 72 72 6f 72 09 63 6f | 6d 6d 75 6e 69 63 61 74 |error.co|mmunicat|
|00004750| 69 6f 6e 20 66 61 69 6c | 65 64 20 61 6e 64 20 49 |ion fail|ed and I|
|00004760| 20 64 6f 6e 27 74 20 6b | 6e 6f 77 20 77 68 79 0d | don't k|now why.|
|00004770| 0d 28 6e 65 67 61 74 69 | 76 65 29 09 4f 53 20 6f |.(negati|ve).OS o|
|00004780| 72 20 6d 65 6d 6f 72 79 | 20 65 72 72 6f 72 0d 0d |r memory| error..|
|00004790| 00 01 00 0d 00 00 00 02 | 00 0d 00 00 00 1a 00 0d |........|........|
|000047a0| 00 00 00 1b 00 0d 00 00 | 00 20 00 09 00 18 00 36 |........|. .....6|
|000047b0| 00 09 00 12 00 4c 00 0d | 00 00 00 51 00 09 00 18 |.....L..|...Q....|
|000047c0| 00 5d 00 09 00 06 00 7d | 00 0d 00 00 00 82 00 09 |.].....}|........|
|000047d0| 00 18 00 90 00 09 00 12 | 00 ba 00 0d 00 00 00 bb |........|........|
|000047e0| 00 0d 00 00 00 c6 00 09 | 00 0c 00 d9 00 0d 00 00 |........|........|
|000047f0| 00 da 00 0d 00 00 0d 0d | a9 31 39 39 32 20 44 61 |........|.1992 Da|
|00004800| 74 61 50 61 6b 20 53 6f | 66 74 77 61 72 65 2c 20 |taPak So|ftware, |
|00004810| 49 6e 63 2e 20 20 41 6c | 6c 20 52 69 67 68 74 73 |Inc. Al|l Rights|
|00004820| 20 52 65 73 65 72 76 65 | 64 0d 46 6f 72 20 70 65 | Reserve|d.For pe|
|00004830| 72 6d 69 73 73 69 6f 6e | 20 74 6f 20 64 69 73 74 |rmission| to dist|
|00004840| 72 69 62 75 74 65 20 74 | 68 69 73 20 64 65 6d 6f |ribute t|his demo|
|00004850| 20 74 6f 20 70 72 6f 73 | 70 65 63 74 69 76 65 20 | to pros|pective |
|00004860| 75 73 65 72 73 2c 20 77 | 72 69 74 65 2c 20 66 61 |users, w|rite, fa|
|00004870| 78 20 6f 72 20 65 6d 61 | 69 6c 20 74 6f 20 74 68 |x or ema|il to th|
|00004880| 65 20 61 62 6f 76 65 20 | 61 64 64 72 65 73 73 2e |e above |address.|
|00004890| 20 20 0d 00 00 00 01 00 | 0d 00 00 00 02 00 0d 00 | ......|........|
|000048a0| 00 00 34 00 0d 00 00 00 | 9d 00 0d 00 00 00 9e 00 |..4.....|........|
|000048b0| 00 00 00 00 9f 00 00 00 | 00 00 00 00 00 00 00 04 |........|........|
|000048c0| 85 00 2e cd 2c 00 00 00 | 00 00 00 02 b8 00 00 00 |....,...|........|
|000048d0| 48 00 00 01 b7 00 00 08 | 80 00 2e cd 34 00 2e cd |H.......|....4...|
|000048e0| 60 00 00 00 2a 00 00 01 | 6f 00 00 04 85 00 00 07 |`...*...|o.......|
|000048f0| d3 00 2e cd 40 00 00 02 | b8 00 00 04 c8 00 00 01 |....@...|........|
|00004900| b7 00 00 02 bf 00 00 08 | 80 00 2e cf 28 00 2e cd |........|....(...|
|00004910| 70 00 00 01 80 00 00 01 | 08 00 00 07 d3 00 00 0b |p.......|........|
|00004920| 6c 00 2e cd 30 00 00 04 | c8 00 00 06 f0 00 00 02 |l...0...|........|
|00004930| bf 00 00 04 69 00 00 08 | 80 00 2e cd 54 00 2e cd |....i...|....T...|
|00004940| 58 00 00 00 3c 00 00 01 | aa 00 00 0b 6c 00 00 0e |X...<...|....l...|
|00004950| ad 00 2e cd 74 00 00 06 | f0 00 00 08 d0 00 00 04 |....t...|........|
|00004960| 69 00 00 05 55 00 00 08 | 80 00 2e cd 3c 00 2e cd |i...U...|....<...|
|00004970| 88 00 00 00 4e 00 00 00 | ec 00 00 0e ad 00 00 10 |....N...|........|
|00004980| 73 00 2e cd 9c 00 00 08 | d0 00 00 0a 68 00 00 05 |s.......|....h...|
|00004990| 55 00 00 06 bf 00 00 08 | 80 00 2e cd 64 00 2e cf |U.......|....d...|
|000049a0| 38 00 00 00 60 00 00 01 | 6a 00 00 10 73 00 00 12 |8...`...|j...s...|
|000049b0| 61 00 2e cd 90 00 00 0a | 68 00 00 0b 88 00 00 06 |a.......|h.......|
|000049c0| bf 00 00 07 4f 00 00 08 | 80 00 2e cf 54 00 2e cd |....O...|....T...|
|000049d0| a0 00 00 01 c8 00 00 00 | 90 00 00 12 61 00 00 15 |........|....a...|
|000049e0| 74 00 2e cd 98 00 00 0b | 88 00 00 0d 20 00 00 07 |t.......|.... ...|
|000049f0| 4f 00 00 08 20 00 00 08 | 80 00 2e cd 8c 00 2e cd |O... ...|........|
|00004a00| 94 00 00 02 34 00 00 00 | d1 00 00 15 74 00 00 16 |....4...|....t...|
|00004a10| 1a 00 2e cd 80 00 00 0d | 20 00 00 0d 98 00 00 08 |........| .......|
|00004a20| 20 00 00 08 59 00 00 08 | 80 00 2e cd 7c 00 2e cd | ...Y...|....|...|
|00004a30| 78 00 00 02 46 00 00 00 | 39 00 00 16 1a 00 00 17 |x...F...|9.......|
|00004a40| 2a 00 2e cd 84 00 00 0d | 98 00 00 0e 10 00 00 08 |*.......|........|
|00004a50| 59 00 00 08 95 00 00 08 | 80 00 2e cd b8 00 2e cf |Y.......|........|
|00004a60| 50 00 00 00 72 00 00 00 | 3c 00 00 17 2a 00 00 1b |P...r...|<...*...|
|00004a70| ba 00 2e cd 5c 00 00 0e | 10 00 00 10 b0 00 00 08 |....\...|........|
|00004a80| 95 00 00 0a 7b 00 00 08 | 80 00 2e cd a4 00 2e cd |....{...|........|
|00004a90| a8 00 00 02 b2 00 00 01 | e6 00 00 1b ba 00 00 1e |........|........|
|00004aa0| f6 00 2e cd d0 00 00 10 | b0 00 00 12 48 00 00 0a |........|....H...|
|00004ab0| 7b 00 00 0b 47 00 00 08 | 80 00 2e cd ac 00 2e cd |{...G...|........|
|00004ac0| b4 00 00 00 84 00 00 00 | cc 00 00 1e f6 00 00 23 |........|.......#|
|00004ad0| 16 00 2e cd b0 00 00 12 | 48 00 00 14 88 00 00 0b |........|H.......|
|00004ae0| 47 00 00 0c f8 00 00 08 | 80 00 2e cd bc 00 2e cd |G.......|........|
|00004af0| c0 00 00 03 1e 00 00 01 | b1 00 00 23 16 00 00 25 |........|...#...%|
|00004b00| 9a 00 2e cd e8 00 00 14 | 88 00 00 15 d8 00 00 0c |........|........|
|00004b10| f8 00 00 0d a0 00 00 08 | 80 00 2e cd c4 00 2e cd |........|........|
|00004b20| cc 00 00 08 0a 00 00 00 | a8 00 00 25 9a 00 00 26 |........|...%...&|
|00004b30| 88 00 2e cd d4 00 00 15 | d8 00 00 16 f8 00 00 0d |........|........|
|00004b40| a0 00 00 0e 33 00 00 08 | 80 00 2e cd dc 00 2e cd |....3...|........|
|00004b50| d8 00 00 08 1c 00 00 00 | 93 00 00 26 88 00 00 27 |........|...&...'|
|00004b60| 84 00 2e cd c8 00 00 16 | f8 00 00 17 a0 00 00 0e |........|........|
|00004b70| 33 00 00 0e 82 00 00 08 | 80 00 2e cd e0 00 2e cd |3.......|........|
|00004b80| e4 00 00 03 ae 00 00 00 | 4f 00 00 27 84 00 00 29 |........|O..'...)|
|00004b90| cb 00 2e cd ec 00 00 17 | a0 00 00 18 a8 00 00 0e |........|........|
|00004ba0| 82 00 00 0f 06 00 00 08 | 80 00 2e ce 0c 00 2e cd |........|........|
|00004bb0| f0 00 00 00 96 00 00 00 | 84 00 00 29 cb 00 00 2b |........|...)...+|
|00004bc0| de 00 2e cd f4 00 00 18 | a8 00 00 19 f8 00 00 0f |........|........|
|00004bd0| 06 00 00 10 46 00 00 08 | 80 00 2e cd f8 00 2e cd |....F...|........|
|00004be0| fc 00 00 04 3e 00 00 01 | 40 00 00 2b de 00 00 2f |....>...|@..+.../|
|00004bf0| e2 00 2e ce 18 00 00 19 | f8 00 00 1c f8 00 00 10 |........|........|
|00004c00| 46 00 00 11 ca 00 00 08 | 80 00 2e ce 00 00 2e ce |F.......|........|
|00004c10| 08 00 00 05 3a 00 00 01 | 84 00 00 2f e2 00 00 33 |....:...|.../...3|
|00004c20| 57 00 2e ce 10 00 00 1c | f8 00 00 1f 38 00 00 11 |W.......|....8...|
|00004c30| ca 00 00 13 cb 00 00 08 | 80 00 2e ce 24 00 2e ce |........|....$...|
|00004c40| 14 00 00 05 a6 00 00 02 | 01 00 00 33 57 00 00 37 |........|...3W..7|
|00004c50| 57 00 2e ce 20 00 00 1f | 38 00 00 21 90 00 00 13 |W... ...|8..!....|
|00004c60| cb 00 00 14 fc 00 00 08 | 80 00 2e ce 1c 00 2e ce |........|........|
|00004c70| 28 00 00 06 36 00 00 01 | 31 00 00 37 57 00 00 37 |(...6...|1..7W..7|
|00004c80| f7 00 2e ce 48 00 00 21 | 90 00 00 21 f0 00 00 14 |....H..!|...!....|
|00004c90| fc 00 00 15 2a 00 00 08 | 80 00 2e ce 30 00 2e ce |....*...|....0...|
|00004ca0| 04 00 00 06 48 00 00 00 | 2e 00 00 37 f7 00 00 3a |....H...|...7...:|
|00004cb0| 9c 00 2e ce 34 00 00 21 | f0 00 00 23 28 00 00 15 |....4..!|...#(...|
|00004cc0| 2a 00 00 16 64 00 00 08 | 80 00 2e ce 3c 00 2e ce |*...d...|....<...|
|00004cd0| 38 00 00 00 a8 00 00 01 | 3a 00 00 3a 9c 00 00 3b |8.......|:..:...;|
|00004ce0| 76 00 2e ce 60 00 00 23 | 28 00 00 24 18 00 00 16 |v...`..#|(..$....|
|00004cf0| 64 00 00 16 d6 00 00 08 | 80 00 2e ce 2c 00 2e ce |d.......|....,...|
|00004d00| 44 00 00 00 ba 00 00 00 | 72 00 00 3b 76 00 00 3c |D.......|r..;v..<|
|00004d10| 15 00 2e cd 1c 00 00 24 | 18 00 00 24 90 00 00 16 |.......$|...$....|
|00004d20| d6 00 00 17 12 00 00 08 | 80 00 2e cd 20 00 2e cd |........|.... ...|
|00004d30| 28 00 00 08 d0 00 00 00 | 3c 00 2e cf 86 06 9e 80 |(.......|<.......|
|00004d40| 73 00 2e cd 68 00 2e cf | 40 08 16 80 53 00 2e cd |s...h...|@...S...|
|00004d50| 38 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |8.......|........|
|00004d60| 00 00 00 00 00 01 1c 00 | 00 05 a1 00 00 05 a1 00 |........|........|
|00004d70| 00 06 1f 00 05 00 00 0a | 37 00 00 0d d0 00 00 0d |........|7.......|
|00004d80| d0 00 00 0f 14 00 05 00 | 00 0f 14 00 00 12 55 00 |........|......U.|
|00004d90| 00 12 55 00 00 12 d9 00 | 05 00 00 12 d9 00 00 14 |..U.....|........|
|00004da0| 9f 00 00 14 9f 00 00 15 | 35 00 05 00 00 1b a8 00 |........|5.......|
|00004db0| 00 1c b8 00 00 1c b8 00 | 00 1c d0 00 05 00 00 22 |........|......."|
|00004dc0| 02 00 00 25 3e 00 00 25 | 3e 00 00 25 e6 00 05 00 |...%>..%|>..%....|
|00004dd0| 00 30 1e 00 00 32 65 00 | 00 32 65 00 00 32 95 00 |.0...2e.|.2e..2..|
|00004de0| 05 00 00 43 61 00 00 46 | 06 00 00 46 06 00 00 46 |...Ca..F|...F...F|
|00004df0| 36 00 05 00 00 46 36 00 | 00 47 10 00 00 47 10 00 |6....F6.|.G...G..|
|00004e00| 00 47 76 00 05 00 00 00 | 00 00 00 00 00 00 00 00 |.Gv.....|........|
|00004e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004eb0| 00 00 00 00 00 00 00 00 | 00 00 00 06 23 00 00 09 |........|....#...|
|00004ec0| 71 00 00 09 71 00 00 0a | 37 00 05 00 00 00 00 00 |q...q...|7.......|
|00004ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f00| 00 00 00 15 35 00 00 17 | 23 00 00 17 23 00 00 17 |....5...|#...#...|
|00004f10| 59 00 05 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |Y.......|........|
|00004f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 17 |........|........|
|00004f70| 59 00 00 1a 6c 00 00 1a | 6c 00 00 1a d8 00 05 00 |Y...l...|l.......|
|00004f80| 00 1a d8 00 00 1b 7e 00 | 00 1b 7e 00 00 1b a8 00 |......~.|..~.....|
|00004f90| 05 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 1c d0 00 |........|........|
|00004ff0| 00 21 60 00 00 21 60 00 | 00 22 02 00 05 00 00 00 |.!`..!`.|."......|
|00005000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005050| 00 00 00 00 00 00 00 00 | 00 25 e6 00 00 2a 06 00 |........|.%...*..|
|00005060| 00 2a 06 00 00 2a a2 00 | 05 00 00 00 00 00 00 00 |.*...*..|........|
|00005070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000050e0| 00 00 00 00 00 00 00 00 | 00 2e e6 00 00 2f e2 00 |........|...../..|
|000050f0| 00 2f e2 00 00 30 1e 00 | 05 00 00 00 00 00 00 00 |./...0..|........|
|00005100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005170| 00 00 00 00 00 00 00 00 | 00 32 95 00 00 34 a8 00 |........|.2...4..|
|00005180| 00 34 a8 00 00 34 ea 00 | 05 00 00 00 00 00 00 00 |.4...4..|........|
|00005190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000051f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005270| 00 00 00 00 00 34 ea 00 | 00 38 ee 00 00 38 ee 00 |.....4..|.8...8..|
|00005280| 00 3a 02 00 05 00 00 00 | 00 00 00 00 00 00 00 00 |.:......|........|
|00005290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000052e0| 00 3a 02 00 00 3d 77 00 | 00 3d 77 00 00 3d ef 00 |.:...=w.|.=w..=..|
|000052f0| 05 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005370| 00 3d ef 00 00 41 ef 00 | 00 41 ef 00 00 42 85 00 |.=...A..|.A...B..|
|00005380| 05 00 00 42 85 00 00 43 | 25 00 00 43 25 00 00 43 |...B...C|%..C%..C|
|00005390| 61 00 05 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|000053a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000053f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000054f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005540| 00 00 00 00 00 2a a2 00 | 00 2d 26 00 00 2d 26 00 |.....*..|.-&..-&.|
|00005550| 00 2d 98 00 05 00 00 2d | 98 00 00 2e 86 00 00 2e |.-.....-|........|
|00005560| 86 00 00 2e e6 00 05 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000055f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005600| 00 00 00 00 00 00 00 00 | 00 00 00 47 76 00 00 48 |........|...Gv..H|
|00005610| 15 00 00 48 15 00 00 48 | 39 00 05 00 00 00 00 00 |...H...H|9.......|
|00005620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 80 00 00 |........|........|
|00005640| 00 00 00 00 00 00 00 01 | 00 05 54 69 6d 65 73 00 |........|..Times.|
|00005650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005660| 00 00 00 00 00 00 00 00 | 00 00 00 00 18 00 00 00 |........|........|
|00005670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005680| 00 00 00 00 14 00 00 00 | 00 01 00 05 54 69 6d 65 |........|....Time|
|00005690| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|000056a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0c 00 |........|........|
|000056b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056c0| 00 00 00 00 00 01 c0 00 | 00 00 00 01 00 05 54 69 |........|......Ti|
|000056d0| 6d 65 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |mes.....|........|
|000056e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000056f0| 12 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005700| 00 00 00 00 00 00 00 01 | d2 00 00 00 00 01 00 05 |........|........|
|00005710| 54 69 6d 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |Times...|........|
|00005720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005730| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005740| 00 00 00 00 00 00 00 00 | 00 04 86 00 00 00 00 01 |........|........|
|00005750| 00 05 54 69 6d 65 73 00 | 00 00 00 00 00 00 00 00 |..Times.|........|
|00005760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005770| 00 00 01 00 0c 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005780| 00 00 00 00 00 00 00 00 | 00 00 00 04 8b 00 00 00 |........|........|
|00005790| 00 01 00 05 54 69 6d 65 | 73 00 00 00 00 00 00 00 |....Time|s.......|
|000057a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057b0| 00 00 00 00 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 05 89 00 |........|........|
|000057d0| 00 00 00 01 00 05 54 69 | 6d 65 73 00 00 00 00 00 |......Ti|mes.....|
|000057e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000057f0| 00 00 00 00 00 00 00 00 | 12 00 00 00 00 00 00 00 |........|........|
|00005800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 05 |........|........|
|00005810| 91 00 00 00 00 01 00 05 | 54 69 6d 65 73 00 00 00 |........|Times...|
|00005820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005830| 00 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|00005840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005850| 00 05 93 00 00 00 00 01 | 00 06 4d 6f 6e 61 63 6f |........|..Monaco|
|00005860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005870| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00005880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005890| 00 00 00 06 0b 00 00 00 | 00 01 00 05 54 69 6d 65 |........|....Time|
|000058a0| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|000058b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0c 00 |........|........|
|000058c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000058d0| 00 00 00 00 00 07 24 00 | 00 00 00 01 00 06 4d 6f |......$.|......Mo|
|000058e0| 6e 61 63 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |naco....|........|
|000058f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005900| 09 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005910| 00 00 00 00 00 00 00 08 | b8 00 00 00 00 01 00 05 |........|........|
|00005920| 54 69 6d 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |Times...|........|
|00005930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005940| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005950| 00 00 00 00 00 00 00 00 | 00 0a a3 00 00 00 00 01 |........|........|
|00005960| 00 06 4d 6f 6e 61 63 6f | 00 00 00 00 00 00 00 00 |..Monaco|........|
|00005970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005980| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005990| 00 00 00 00 00 00 00 00 | 00 00 00 0a b2 00 00 00 |........|........|
|000059a0| 00 01 00 05 54 69 6d 65 | 73 00 00 00 00 00 00 00 |....Time|s.......|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 0a bc 00 |........|........|
|000059e0| 00 00 00 01 00 06 4d 6f | 6e 61 63 6f 00 00 00 00 |......Mo|naco....|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 00 00 00 00 00 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00005a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 0a |........|........|
|00005a20| cd 00 00 00 00 01 00 05 | 54 69 6d 65 73 00 00 00 |........|Times...|
|00005a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 0a d9 00 00 00 00 01 | 00 06 4d 6f 6e 61 63 6f |........|..Monaco|
|00005a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00005a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005aa0| 00 00 00 0a db 00 00 00 | 00 01 00 05 54 69 6d 65 |........|....Time|
|00005ab0| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0c 00 |........|........|
|00005ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 00 00 00 0b 38 00 | 00 00 00 01 00 06 4d 6f |......8.|......Mo|
|00005af0| 6e 61 63 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |naco....|........|
|00005b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b10| 09 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 0b | 4a 00 00 00 00 01 00 05 |........|J.......|
|00005b30| 54 69 6d 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |Times...|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 0b 6b 00 00 00 00 01 |........|..k.....|
|00005b70| 00 06 4d 6f 6e 61 63 6f | 00 00 00 00 00 00 00 00 |..Monaco|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 0b 79 00 00 00 |........|....y...|
|00005bb0| 00 01 00 05 54 69 6d 65 | 73 00 00 00 00 00 00 00 |....Time|s.......|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 0b 9b 00 |........|........|
|00005bf0| 00 00 00 01 00 06 4d 6f | 6e 61 63 6f 00 00 00 00 |......Mo|naco....|
|00005c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c10| 00 00 00 00 00 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 0b |........|........|
|00005c30| 9c 00 00 00 00 01 00 05 | 54 69 6d 65 73 00 00 00 |........|Times...|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c70| 00 0c 5f 00 00 00 00 01 | 00 06 4d 6f 6e 61 63 6f |.._.....|..Monaco|
|00005c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 0c aa 00 00 00 | 00 01 00 05 54 69 6d 65 |........|....Time|
|00005cc0| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0c 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 0e 99 00 | 00 00 00 01 00 05 54 69 |........|......Ti|
|00005d00| 6d 65 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |mes.....|........|
|00005d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 01 00 |........|........|
|00005d20| 0c 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d30| 00 00 00 00 00 00 00 0e | ab 00 00 00 00 01 00 05 |........|........|
|00005d40| 54 69 6d 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |Times...|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 0e ad 00 00 00 00 01 |........|........|
|00005d80| 00 05 54 69 6d 65 73 00 | 00 00 00 00 00 00 00 00 |..Times.|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 04 00 0c 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 0e ae 00 00 00 |........|........|
|00005dc0| 00 01 00 05 54 69 6d 65 | 73 00 00 00 00 00 00 00 |....Time|s.......|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 05 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 0e c1 00 |........|........|
|00005e00| 00 00 00 01 00 05 54 69 | 6d 65 73 00 00 00 00 00 |......Ti|mes.....|
|00005e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e20| 00 00 00 00 00 00 01 00 | 0c 00 00 00 00 00 00 00 |........|........|
|00005e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 0e |........|........|
|00005e40| c2 00 00 00 00 01 00 05 | 54 69 6d 65 73 00 00 00 |........|Times...|
|00005e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e60| 00 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|00005e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e80| 00 0e c3 00 00 00 00 01 | 00 06 4d 6f 6e 61 63 6f |........|..Monaco|
|00005e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|00005eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ec0| 00 00 00 0f c5 00 00 00 | 00 01 00 05 54 69 6d 65 |........|....Time|
|00005ed0| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00005ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0c 00 |........|........|
|00005ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f00| 00 00 00 00 00 0f c7 00 | 00 00 00 01 00 05 54 69 |........|......Ti|
|00005f10| 6d 65 73 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |mes.....|........|
|00005f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f30| 12 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f40| 00 00 00 00 00 00 00 0f | d4 00 00 00 00 01 00 05 |........|........|
|00005f50| 54 69 6d 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |Times...|........|
|00005f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f70| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005f80| 00 00 00 00 00 00 00 00 | 00 11 65 00 00 00 00 01 |........|..e.....|
|00005f90| 00 06 4d 6f 6e 61 63 6f | 00 00 00 00 00 00 00 00 |..Monaco|........|
|00005fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fb0| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005fc0| 00 00 00 00 00 00 00 00 | 00 00 00 11 72 00 00 00 |........|....r...|
|00005fd0| 00 01 00 06 4d 6f 6e 61 | 63 6f 00 00 00 00 00 00 |....Mona|co......|
|00005fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ff0| 00 00 00 00 01 00 09 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006000| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 11 81 00 |........|........|
|00006010| 00 00 00 01 00 06 4d 6f | 6e 61 63 6f 00 00 00 00 |......Mo|naco....|
|00006020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006030| 00 00 00 00 00 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00006040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 11 |........|........|
|00006050| 9b 00 00 00 00 01 00 05 | 54 69 6d 65 73 00 00 00 |........|Times...|
|00006060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006070| 00 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|00006080| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006090| 00 11 9c 00 00 00 00 01 | 00 06 4d 6f 6e 61 63 6f |........|..Monaco|
|000060a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|000060c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000060d0| 00 00 00 11 a5 00 00 00 | 00 01 00 06 4d 6f 6e 61 |........|....Mona|
|000060e0| 63 6f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |co......|........|
|000060f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 01 00 09 00 |........|........|
|00006100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006110| 00 00 00 00 00 11 b4 00 | 00 00 00 01 00 06 4d 6f |........|......Mo|
|00006120| 6e 61 63 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |naco....|........|
|00006130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006140| 09 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006150| 00 00 00 00 00 00 00 11 | ce 00 00 00 00 01 00 05 |........|........|
|00006160| 54 69 6d 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |Times...|........|
|00006170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006180| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006190| 00 00 00 00 00 00 00 00 | 00 12 62 00 00 00 00 01 |........|..b.....|
|000061a0| 00 06 4d 6f 6e 61 63 6f | 00 00 00 00 00 00 00 00 |..Monaco|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 12 77 00 00 00 |........|....w...|
|000061e0| 00 01 00 05 54 69 6d 65 | 73 00 00 00 00 00 00 00 |....Time|s.......|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 00 00 00 00 00 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 12 91 00 |........|........|
|00006220| 00 00 00 01 00 06 4d 6f | 6e 61 63 6f 00 00 00 00 |......Mo|naco....|
|00006230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006240| 00 00 00 00 00 00 00 00 | 09 00 00 00 00 00 00 00 |........|........|
|00006250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 12 |........|........|
|00006260| a6 00 00 00 00 01 00 05 | 54 69 6d 65 73 00 00 00 |........|Times...|
|00006270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006280| 00 00 00 00 00 00 00 00 | 00 00 0c 00 00 00 00 00 |........|........|
|00006290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062a0| 00 12 bb 00 00 00 00 01 | 00 06 4d 6f 6e 61 63 6f |........|..Monaco|
|000062b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 09 00 00 00 |........|........|
|000062d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062e0| 00 00 00 12 ce 00 00 00 | 00 01 00 05 54 69 6d 65 |........|....Time|
|000062f0| 73 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|00006300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0c 00 |........|........|
|00006310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006320| 00 00 00 00 00 12 d7 00 | 00 00 00 01 00 06 4d 6f |........|......Mo|
|00006330| 6e 61 63 6f 00 00 00 00 | 00 00 00 00 00 00 00 00 |naco....|........|
|00006340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006350| 09 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 12 | d8 00 00 00 00 01 00 05 |........|........|
|00006370| 54 69 6d 65 73 00 00 00 | 00 00 00 00 00 00 00 00 |Times...|........|
|00006380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006390| 00 00 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063a0| 00 00 00 00 00 00 00 00 | 00 15 33 00 00 00 00 01 |........|..3.....|
|000063b0| 00 05 54 69 6d 65 73 00 | 00 00 00 00 00 00 00 00 |..Times.|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 12 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 15 3b 00 00 00 |........|....;...|
|000063f0| 00 01 00 05 54 69 6d 65 | 73 00 00 00 00 00 00 00 |....Time|s.......|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.